File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def isheader(elem):
7272
7373class AttrListTreeprocessor (Treeprocessor ):
7474
75- BASE_RE = r'\{\:?([^\}]*)\}'
75+ BASE_RE = r'\{\:?([^\}\n ]*)\}'
7676 HEADER_RE = re .compile (r'[ ]+%s[ ]*$' % BASE_RE )
7777 BLOCK_RE = re .compile (r'\n[ ]*%s[ ]*$' % BASE_RE )
7878 INLINE_RE = re .compile (r'^%s' % BASE_RE )
Original file line number Diff line number Diff line change @@ -63,4 +63,6 @@ <h1>Bad attributes</h1>
6363< p > Value without < em > key</ em > </ p >
6464< p > No < em > key or value</ em > </ p >
6565< p > < em > Weirdness</ em > </ p >
66- < p > < em > More weirdness</ em > </ p >
66+ < p > < em > More weirdness</ em > </ p >
67+ < p > Attr_lists do not contain < em > newlines</ em > { foo=bar
68+ key=value }</ p >
Original file line number Diff line number Diff line change @@ -88,3 +88,5 @@ No *key or value*{ = }
8888
8989*More weirdness*{ === }
9090
91+ Attr_lists do not contain *newlines*{ foo=bar
92+ key=value }
You can’t perform that action at this time.
0 commit comments