summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parser/text_p.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser/text_p.cpp b/src/parser/text_p.cpp
index ce1e233..447a556 100644
--- a/src/parser/text_p.cpp
+++ b/src/parser/text_p.cpp
@@ -29,10 +29,10 @@ text_p::text_p() : text_p::base_type(text_) {
| lit('\'') >> attr(ALT) >> +text_(_r1) >> '\''
| lit('`') >> attr(CODE) >> +ptext_(val(L"`")) >> '`'
| lit('$') >> attr(MATH) >> +ptext_(val(L"$")) >> '$'
- | lit("^{") >> attr(SUPER) >> +text_(val(L"*'`$^}")) >> '}'
+ | lit("^{") >> attr(SUPER) >> +text_(val(L"*'`$^}[")) >> '}'
| lit('^') >> attr(SUPER) >> +text_(val(L"*'`$ "))
- | lit(L"@\"") >> attr(QUOTE) >> +text_(val(L"*'`$@\"")) >> '"'
- | lit(L"@_") >> attr(SUB) >> +text_(val(L"*'`$@_")) >> '_';
+ | lit(L"@\"") >> attr(QUOTE) >> +text_(val(L"*'`$@\"[")) >> '"'
+ | lit(L"@_") >> attr(SUB) >> +text_(val(L"*'`$@_[")) >> '_';
pstext_ = lit('[') >> attr(LINK) >> +text_(val(L"]")) >> ']' >>
lit('(') >> ptext_(val(L")")) >> ')';