diff options
| author | Grégoire Duchêne <gduchene@fastmail.net> | 2011-09-08 12:42:56 +0200 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@fastmail.net> | 2011-09-08 16:32:49 +0200 |
| commit | c8465f94f429595784df20aaf5673e6c429047fd (patch) | |
| tree | c72539177292eb477e2b66d4378e1fd8b19e1c66 /src | |
| parent | ab24e62128d9cdb633f6457665451070053c7b6d (diff) | |
Improved the latex::line_g generator.
This generator no longer outputs an endline character to make the
latex::heading_g generator behave as expected.
Diffstat (limited to 'src')
| -rw-r--r-- | src/generators/latex/line_g.cpp | 2 | ||||
| -rw-r--r-- | src/generators/latex/paragraph_g.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/generators/latex/line_g.cpp b/src/generators/latex/line_g.cpp index 3fd3b04..125db5b 100644 --- a/src/generators/latex/line_g.cpp +++ b/src/generators/latex/line_g.cpp @@ -16,5 +16,5 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "line_g.h" latex::line_g::line_g() : line_g::base_type(line_) { - line_ = +text_ << ka::eol; + line_ = +text_; } diff --git a/src/generators/latex/paragraph_g.cpp b/src/generators/latex/paragraph_g.cpp index adf3a26..00bbd86 100644 --- a/src/generators/latex/paragraph_g.cpp +++ b/src/generators/latex/paragraph_g.cpp @@ -16,5 +16,5 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "paragraph_g.h" latex::paragraph_g::paragraph_g() : paragraph_g::base_type(paragraph_) { - paragraph_ = heading_ | (+line_ << ka::eol); + paragraph_ = heading_ | +(line_ << ka::eol); } |
