-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML Notation is not parsed correct #57
Comments
I'm not seeing that regexp in |
It might be autogenerated from
It might be possible to trick the regexp by adding another
|
Yes sorry, it is autogenerated from there. No your suggestion is not working, It is working with the regex:
I removed the So it looks like:
@IvanSanchez maybe you can test the regex on you projects, because the test suite are not working for me. If it is working for you I will create a PR |
@Falke-Design It seems that I messed up the unit tests after tweaking the Anyway, I tested your regexp, and unfortunately it breaks stuff, specifically: # 🍂property parent: TreeNode; Parent of this node. Will be `nil` for a root node. 181,182c181,182
< <td><code><a href='#treenode'>TreeNode</a></code></td>
< <td>Parent of this node. Will be <code>nil</code> for a root node.</td>
---
> <td><code>TreeNode; Parent of this node. Will be `nil` for a root node.</code></td>
> <td></td> That shorthand syntax (which is equivalent to writing two lines, one with the actual directive and another with the text) is used elsewhere, e.g. |
@Falke-Design Can you please try with the code from 5e4cdf9 ? That regexp should behave nicer (now stuff needs It'd be nice to have a specific e2e test with the |
I would like to create tests but it is hard for me to understand this, because the most things not working correct and I don't know jasmine. Maybe you can create a explanation how to create and run tests. My failures:
|
There is a issue Leaflet/Leaflet#6208 where the
'
is not correct parsed, the regex have to be changed:Doc
Regex:
When the
;
is removed it works.I tried do change it and select until the exact match
;\n
with or without;
but the regex is to complicated for me.The text was updated successfully, but these errors were encountered: