Changed text action from @{} to %{}.
This ensures the action is only run at the end, opposed to any non final state.
This commit is contained in:
parent
4818176ae0
commit
00579eaa8a
|
@ -301,7 +301,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Text followed by a special tag, such as "foo<!--"
|
# Text followed by a special tag, such as "foo<!--"
|
||||||
allowed_text @{ mark = p; } terminate_text => {
|
allowed_text %{ mark = p; } terminate_text => {
|
||||||
callback("on_text", data, encoding, ts, mark);
|
callback("on_text", data, encoding, ts, mark);
|
||||||
|
|
||||||
p = mark - 1;
|
p = mark - 1;
|
||||||
|
|
Loading…
Reference in New Issue