diff --git a/src/main_grammar.cpp b/src/main_grammar.cpp index da0fd63..9a95299 100644 --- a/src/main_grammar.cpp +++ b/src/main_grammar.cpp @@ -914,7 +914,7 @@ namespace quickbook >> (*(cl::anychar_p - "'''")) >> ( cl::str_p("'''") | cl::eps_p [error("Unclosed boostbook escape.")] - ) [element_action] + ) ; attribute_value_1_7 = diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index aef18f8..7d464e4 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -69,6 +69,7 @@ test-suite quickbook.test : [ quickbook-test link-1_6 ] [ quickbook-test link-1_7 ] [ quickbook-error-test link-1_7-fail ] + [ quickbook-error-test link-1_7-fail2 ] [ quickbook-test list_test-1_5 ] [ quickbook-test list_test-1_6 ] [ quickbook-error-test list_test-1_6-fail ] diff --git a/test/link-1_7-fail2.quickbook b/test/link-1_7-fail2.quickbook new file mode 100644 index 0000000..30ac495 --- /dev/null +++ b/test/link-1_7-fail2.quickbook @@ -0,0 +1,6 @@ +[article Link fail test +[quickbook 1.7] +] + +[/ Escapes aren't allowed in links.] +[link '''escaped stuff''']