HtmlInline
(and possibly other inlines) incorrect end line calculation #501
Open
Description
It seems like the sourcepos
calculation for inlines (at least for HtmlInline
) adds self.line_offset
to the end column, instead of the line offset for the end line.
For example:
hello <img
src="foo"
alt="bar"> world
Gives a sourcepos of 1:9-3:9, while:
hello <img
src="foo"
alt="bar"> world
Also gives a sourcepos of 1:9-3:9.