Skip to content

Add link tag in htmlpair (must be closed)#5

Open
raimonesteve wants to merge 1 commit intodcramer:masterfrom
raimonesteve:master
Open

Add link tag in htmlpair (must be closed)#5
raimonesteve wants to merge 1 commit intodcramer:masterfrom
raimonesteve:master

Conversation

@raimonesteve
Copy link

Link tag ("a") must be closed because change to ">" to html entities.

Example:

text = '<a href="/hello-world">Hello World </a> and  [/thanks-wikimarkup thanks wikimarkup]'

Render:

<p>&lt;a href="/hello-world"&gt;Hello World &lt;/a&gt; and  <a href="/thanks-wikimarkup">thanks wikimarkup</a></p>

With this PR, render will be:

<p><a>Hello World </a> and  <a href="/thanks-wikimarkup">thanks wikimarkup</a></p>

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant