Skip to content

Underscores are removed from html #47

Open

Description

@erikvanoosten

In pine 0.2 the following was quite unexpected:

scala> import pine._
import pine._

scala> html"<span>_</span>".toHtml
res0: String = <span></span>

Where did the underscore go to?

Is this because of

// TODO Find a better solution
?

Activity

  1. tindzk commented on Apr 16, 2018

    @tindzk
    Member

    Thanks for the report! Yes, this is most likely the reason. As a workaround, you could use an external file.

    I am planning to use a streaming HTML parser (#12) which would eliminate the need for inserting placeholders.

  2. added this to the v0.2 milestone on Apr 16, 2018
  3. self-assigned this
    on Apr 16, 2018
  4. erikvanoosten commented on Oct 4, 2020

    @erikvanoosten
    ContributorAuthor

    @tindzk Is this one also fixed in v0.1.7?

  5. tindzk commented on Oct 5, 2020

    @tindzk
    Member

    @erikvanoosten Unfortunately, the issue has not been fixed yet, but I will work on it soon. Sorry it has taken so long!

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions