summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/elements.h2
-rw-r--r--src/generators/latex/text_g.cpp4
-rw-r--r--src/main.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/elements.h b/src/elements.h
index de9ceb8..9142ea2 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -41,7 +41,7 @@ enum stattribute_t {
struct stext_t;
struct pstext_t;
-typedef boost::variant<boost::recursive_wrapper<stext_t>,
+typedef boost::variant<boost::recursive_wrapper<stext_t>,
boost::recursive_wrapper<pstext_t>,
stattribute_t,
std::wstring> text_t;
diff --git a/src/generators/latex/text_g.cpp b/src/generators/latex/text_g.cpp
index cdebe9f..b9d013a 100644
--- a/src/generators/latex/text_g.cpp
+++ b/src/generators/latex/text_g.cpp
@@ -20,7 +20,7 @@ latex::text_g::text_g() : text_g::base_type(text_) {
using ka::standard_wide::char_;
text_ = stext_ | pstext_ | atom_ | ptext_;
-
+
stext_ = &uint_(EMPH) << L"\\emph{" << +text_ << '}'
| &uint_(SEMPH) << L"\\textit{\\emph{" << +text_ << L"}}"
| &uint_(VSEMPH) << L"\\texttt{\\textit{\\emph{" << +text_ << L"}}}"
@@ -34,7 +34,7 @@ latex::text_g::text_g() : text_g::base_type(text_) {
atom_ = &uint_(NBSP) << '~' | &uint_(NEWLINE) << L"\\\\" << eol;
- pstext_ = &uint_(LINK) << L"\\href{" << ptext_[_1 = ph::at_c<2>(_val)]
+ pstext_ = &uint_(LINK) << L"\\href{" << ptext_[_1 = ph::at_c<2>(_val)]
<< L"}{" << (+text_)[_1 = ph::at_c<1>(_val)] << '}';
ptext_ = +char_;
diff --git a/src/main.cpp b/src/main.cpp
index 6477e0f..e991af9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -57,7 +57,7 @@ int main(int argc, char** argv) {
}
wifstream ifile(variables["input"].as<string>().c_str());
-
+
if (ifile.fail()) {
cerr << "mppdown: error while reading the file" << endl;
return 1;