Skip to content
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

Exclamation points may be improperly encoded as image tags #1

Open
cultpony opened this issue Jul 17, 2022 · 0 comments
Open

Exclamation points may be improperly encoded as image tags #1

cultpony opened this issue Jul 17, 2022 · 0 comments

Comments

@cultpony
Copy link

Hi,

I've encountered this running a few test comparing against the Elixir textile rendering, the following encoding seems to be a bit weird;

A! B! C.

renders to

<p>A<img src=" B"> C.</p>

while the proper result would be

<p>A! B! C.</p>

I'm bypassing it by encoding exclamation marks with trailing spaces but I don't think those should be images, as the source path isn't a valid URI to begin with.

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

No branches or pull requests

1 participant