|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65282 - in branches/quickbook-1.5-spirit2: src test
From: dnljms_at_[hidden]
Date: 2010-09-05 05:31:55
Author: danieljames
Date: 2010-09-05 05:31:53 EDT (Sun, 05 Sep 2010)
New Revision: 65282
URL: http://svn.boost.org/trac/boost/changeset/65282
Log:
Fix trailing space in inside paragraphs.
Text files modified:
branches/quickbook-1.5-spirit2/src/phrase_grammar.cpp | 2 +-
branches/quickbook-1.5-spirit2/test/para-test.gold | 11 +++++++++++
branches/quickbook-1.5-spirit2/test/para-test.quickbook | 8 +++++++-
3 files changed, 19 insertions(+), 2 deletions(-)
Modified: branches/quickbook-1.5-spirit2/src/phrase_grammar.cpp
==============================================================================
--- branches/quickbook-1.5-spirit2/src/phrase_grammar.cpp (original)
+++ branches/quickbook-1.5-spirit2/src/phrase_grammar.cpp 2010-09-05 05:31:53 EDT (Sun, 05 Sep 2010)
@@ -172,7 +172,7 @@
// Make sure that we don't go past a single block, except when
// preformatted.
phrase_end =
- ']' | qi::eps(ph::ref(no_eols)) >> eol >> *qi::blank >> qi::eol
+ ']' | qi::eps(ph::ref(no_eols)) >> qi::eol >> *qi::blank >> qi::eol
;
}
}
Modified: branches/quickbook-1.5-spirit2/test/para-test.gold
==============================================================================
--- branches/quickbook-1.5-spirit2/test/para-test.gold (original)
+++ branches/quickbook-1.5-spirit2/test/para-test.gold 2010-09-05 05:31:53 EDT (Sun, 05 Sep 2010)
@@ -70,6 +70,17 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>Another paragraph</term>
+ <listitem>
+ <para>
+ Trailing space after this line.
+ </para>
+ <para>
+ And trailing space after this one.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</section>
</article>
Modified: branches/quickbook-1.5-spirit2/test/para-test.quickbook
==============================================================================
--- branches/quickbook-1.5-spirit2/test/para-test.quickbook (original)
+++ branches/quickbook-1.5-spirit2/test/para-test.quickbook 2010-09-05 05:31:53 EDT (Sun, 05 Sep 2010)
@@ -76,6 +76,12 @@
-Last paragraph.]]]
+Last paragraph.]]
+[[Another paragraph][
+Trailing space after this line.
+
+And trailing space after this one.
+]]
+]
[endsect]
\ No newline at end of file
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk