Skip to content

Unescaped brackets in XHTML output #1

Description

@namedgraph

Hi,

I have Markdown that goes like this:

...the IRI *<http://www.example.com/my/2.0>* might be redirected to *<file:///usr/local/ontologies/imported.v20.owl>*.

which gets converted to the following XHTML:

...the IRI <em><a href="http://www.example.com/my/2.0">http://www.example.com/my/2.0</a></em> might be redirected to <em><file:///usr/local/ontologies/imported.v20.owl></em>.

Why is the http: link converted to <a> and file: is not?
In any case, raw brackets in <file:...> look like a bug to me -- they should be entity-escaped as &lt;file:...&gt;, otherwise the file is not well-formed XML.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions