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
When trestle encounters the '<' or '>' characters, it considers these the start of an entity(?) tag and so consumes text until the next entity tag. As markdown linters use these characters to delineate bare HTML links, this can lead to strange error messages when comparing a document to it's template
To Reproduce
Steps to reproduce the behavior:
Establish a markdown template
Create a trestle document from the markdown template
Insert HTML links (i.e. https:...) into the document, delineated by '<' and '>' characters (for example, 'http://www.google.com')
Try to validate the document against the established template with trestle
Expected behavior
The document should pass the validation
Screenshots / Logs.
Example output as a result of this error:
Headings in the instance: /mnt/arch-design/ssad/privileged-access-gateway/privileged-access-gateway-ssad.md were removed. Expected 92 headings, but found only 88.
Heading #### Q.1.1 Personal IDs: in the instance: /mnt/arch-design/ssad/privileged-access-gateway/privileged-access-gateway-ssad.md was removed or not present
Heading #### Definitions: in the instance: /mnt/arch-design/ssad/privileged-access-gateway/privileged-access-gateway-ssad.md was removed or not present
Heading #### Definition: in the instance: /mnt/arch-design/ssad/privileged-access-gateway/privileged-access-gateway-ssad.md was removed or not present
INVALID: arch-design/ssad/privileged-access-gateway/privileged-access-gateway-ssad.md
If applicable, add screenshots to help explain your problem.
Environment
OS: MacOS
Python version: 3.11.11
Installed packages: standard trestle install
The text was updated successfully, but these errors were encountered:
Describe the bug
When trestle encounters the '<' or '>' characters, it considers these the start of an entity(?) tag and so consumes text until the next entity tag. As markdown linters use these characters to delineate bare HTML links, this can lead to strange error messages when comparing a document to it's template
To Reproduce
Steps to reproduce the behavior:
https:...
) into the document, delineated by '<' and '>' characters (for example, 'http://www.google.com')Expected behavior
The document should pass the validation
Screenshots / Logs.
Example output as a result of this error:
If applicable, add screenshots to help explain your problem.
Environment
The text was updated successfully, but these errors were encountered: