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:
Yorick Peterse 2014-09-23 22:58:20 +02:00
parent 4818176ae0
commit 00579eaa8a
1 changed files with 1 additions and 1 deletions

View File

@ -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;