1.1 --- a/moinformat/parsers/moin.py Mon Jul 30 23:19:20 2018 +0200
1.2 +++ b/moinformat/parsers/moin.py Mon Jul 30 23:19:51 2018 +0200
1.3 @@ -660,7 +660,9 @@
1.4
1.5 # Table contents:
1.6
1.7 - "tableattrs" : r"<", # <
1.8 + "tableattrs" : join(("<", # lt
1.9 + excl("<"))), # not-lt
1.10 +
1.11 "tablecell" : r"\|\|", # ||
1.12
1.13 "tableend" : join((group("extra", r"\s*?"), # ws... (optional)
2.1 --- a/tests/test_tables.tree Mon Jul 30 23:19:20 2018 +0200
2.2 +++ b/tests/test_tables.tree Mon Jul 30 23:19:51 2018 +0200
2.3 @@ -45,4 +45,8 @@
2.4 TableRow
2.5 TableCell
2.6 Text
2.7 + TableRow
2.8 + TableCell
2.9 + Macro
2.10 + Text
2.11 Block
3.1 --- a/tests/test_tables.txt Mon Jul 30 23:19:20 2018 +0200
3.2 +++ b/tests/test_tables.txt Mon Jul 30 23:19:51 2018 +0200
3.3 @@ -8,3 +8,4 @@
3.4
3.5 ||<20%%name="value"> Bad separator ||
3.6 ||<20%xx-2> Strange attributes ||
3.7 +||<<BR>> Macro, not attributes ||