Skip to content

WIP html_utils: improved MathML support#131

Open
kaplun wants to merge 1 commit into
CERNDocumentServer:masterfrom
kaplun:mathml
Open

WIP html_utils: improved MathML support#131
kaplun wants to merge 1 commit into
CERNDocumentServer:masterfrom
kaplun:mathml

Conversation

@kaplun

@kaplun kaplun commented Mar 25, 2015

Copy link
Copy Markdown
Contributor

Signed-off-by: Samuele Kaplun samuele.kaplun@cern.ch

* Enriches the list of recognized MathML tags following the reference
  available at:
  https://developer.mozilla.org/en-US/docs/Web/MathML/Element

* Introduces the possibility to simply HTML-escape everything but the
  specific MathML tags, thus allowing to preserve MathML.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
@kaplun

kaplun commented Mar 25, 2015

Copy link
Copy Markdown
Contributor Author

@jalavik I will add tests to proof the new behavior.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.03%) to 65.01% when pulling d18a1de on kaplun:mathml into 5120481 on inspirehep:master.

@jalavik

jalavik commented May 5, 2015

Copy link
Copy Markdown
Contributor

@kaplun Shall we integrate it already or do the enhanced tests?

@kaplun

kaplun commented May 19, 2015

Copy link
Copy Markdown
Contributor Author

Wow I forgot about this branch. I think we need still tests, because of:

  • Introduces the possibility to simply HTML-escape everything but the
    specific MathML tags, thus allowing to preserve MathML.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants