Omitable Text current usage matches more than required text
Closed this issue · 3 comments
anshuldutt21 commented
For example, lets say we have a template:
This is an optional <beginOptional>an<endOptional>.
The current algorithm would result in:
This is optional.
where it should result in
This is an optional.
Maybe we can save the positions of the optional tags and match using the string approach between 2 positions start and end where the tags occur.
(Open to ideas)
anshuldutt21 commented
@goneall Plz check if this is okay.
anshuldutt21 commented
@goneall I think that this issue can be closed now since it is resolved.
goneall commented
@anshuldutt21 Agreed - please go ahead and close