Sometimes in a plugin you need to use the parser to parse some content then re-insert into the tree. In this situation, the location info gets out of whack. As such, there should be an "offset" option to the parser that accepts a location object, and adds any parsed locations to the offset.
Sometimes in a plugin you need to use the parser to parse some content then re-insert into the tree. In this situation, the location info gets out of whack. As such, there should be an "offset" option to the parser that accepts a location object, and adds any parsed locations to the offset.