You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a reason why we don't get data-sourcepos on links?
test [test](https://google.com)
Current get: <p data-sourcepos="1:1-1:31">test <a href="https://google.com">test</a></p>
Would be nice to get: <p data-sourcepos="1:1-1:31">test <a data-sourcepos="1:6-1:31" href="https://google.com">test</a></p>
The text was updated successfully, but these errors were encountered:
We have only implemented sourcepos for block-level elements.
It would be a bit trickier to make it work for inline
elements. Because I think sourcepos tags aren't the way
to go anyway (see #29), I haven't put time into this.
Eventually we'll need a way of getting source maps for
all elements.
+++ Tim Shannon [Sep 01 15 14:06 ]:
Is there a reason why we don't get data-sourcepos on links?
Is there a reason why we don't get data-sourcepos on links?
test [test](https://google.com)
Current get:
<p data-sourcepos="1:1-1:31">test <a href="https://google.com">test</a></p>
Would be nice to get:
<p data-sourcepos="1:1-1:31">test <a data-sourcepos="1:6-1:31" href="https://google.com">test</a></p>
The text was updated successfully, but these errors were encountered: