You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---layout: post---
This post is here to test [$$\jektex$$](https://github.com/yagarea/jektex),
a lightweight jekyll plugin for LaTeX rendering $$\LaTeX$$.
## Inline example
Lorem ipsum dolor sit amet, consectetur $$e^{i\theta}=\cos(\theta)+i\sin(\theta)$$
adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
## Display example
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua.
$$ \left[ \frac{-\hbar^2}{2\mu}\nabla^2 + V(\mathbf{r},t)\right] \Psi(\mathbf{r},t) $$
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
ea commodo consequat.
<head><metacharset="utf-8" />
<metahttp-equiv="X-UA-Compatible" content="IE=edge" />
<metaname="viewport" content="width=device-width, initial-scale=1" />
<title>Jektex Post</title><!-- Begin Jekyll SEO tag v2.7.1 --><metaname="generator" content="Jekyll v3.9.5" />
<metaproperty="og:title" content="Jektex Post" />
<metaname="author" content="Riccardo Graziosi" />
<metaproperty="og:locale" content="en_US" />
<metaname="description" content="This post is here to test <span class="katex"><spanclass="katex-mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mpaddedvoffset="-0.55ex"><mstylescriptlevel="0" displaystyle="false"><mtext>J</mtext></mstyle></mpadded><mspacewidth="-0.1293em"/><mtext>E</mtext><mspacewidth="-0.1077em"/><mpaddedvoffset="-0.5ex"><mstylescriptlevel="0" displaystyle="false"><mtext>K</mtext></mstyle></mpadded><mspacewidth="-0.3017em"/></mrow><mtext>TeX</mtext></mrow><annotationencoding="application/x-tex">\jektex</annotation></semantics></math></span><spanclass="katex-html" aria-hidden="true"><spanclass="base"><spanclass="strut" style="height:0.9204em;vertical-align:-0.2371em;"></span><spanclass="mord text"><spanclass="vlist-t vlist-t2"><spanclass="vlist-r"><spanclass="vlist" style="height:0.4463em;"><spanstyle="top:-2.763em;"><spanclass="pstrut" style="height:3em;"></span><spanclass="mord"><spanclass="mord">J</span></span></span></span><spanclass="vlist-s"></span></span><spanclass="vlist-r"><spanclass="vlist" style="height:0.2371em;"><span></span></span></span></span><spanclass="mspace" style="margin-right:-0.1293em;"></span><spanclass="mord">E</span><spanclass="mspace" style="margin-right:-0.1077em;"></span><spanclass="vlist-t vlist-t2"><spanclass="vlist-r"><spanclass="vlist" style="height:0.4678em;"><spanstyle="top:-2.7845em;"><spanclass="pstrut" style="height:3em;"></span><spanclass="mord"><spanclass="mord">K</span></span></span></span><spanclass="vlist-s"></span></span><spanclass="vlist-r"><spanclass="vlist" style="height:0.2155em;"><span></span></span></span></span><spanclass="mspace" style="margin-right:-0.3017em;"></span></span><spanclass="mord text"><spanclass="mord textrm">T</span><spanclass="mspace" style="margin-right:-0.1667em;"></span><spanclass="vlist-t vlist-t2"><spanclass="vlist-r"><spanclass="vlist" style="height:0.4678em;"><spanstyle="top:-2.7845em;"><spanclass="pstrut" style="height:3em;"></span><spanclass="mord"><spanclass="mord textrm">E</span></span></span></span><spanclass="vlist-s"></span></span><spanclass="vlist-r"><spanclass="vlist" style="height:0.2155em;"><span></span></span></span></span><spanclass="mspace" style="margin-right:-0.125em;"></span><spanclass="mord textrm">X</span></span></span></span></span>, a lightweight jekyll plugin for LaTeX rendering <spanclass="katex"><spanclass="katex-mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mtext>LaTeX</mtext></mrow><annotationencoding="application/x-tex">\LaTeX</annotation></semantics></math></span><spanclass="katex-html" aria-hidden="true"><spanclass="base"><spanclass="strut" style="height:0.8988em;vertical-align:-0.2155em;"></span><spanclass="mord text"><spanclass="mord textrm">L</span><spanclass="mspace" style="margin-right:-0.36em;"></span><spanclass="vlist-t"><spanclass="vlist-r"><spanclass="vlist" style="height:0.6833em;"><spanstyle="top:-2.905em;"><spanclass="pstrut" style="height:2.7em;"></span><spanclass="mord"><spanclass="mord textrm mtight sizing reset-size6 size3">A</span></span></span></span></span></span><spanclass="mspace" style="margin-right:-0.15em;"></span><spanclass="mord text"><spanclass="mord textrm">T</span><spanclass="mspace" style="margin-right:-0.1667em;"></span><spanclass="vlist-t vlist-t2"><spanclass="vlist-r"><spanclass="vlist" style="height:0.4678em;"><spanstyle="top:-2.7845em;"><spanclass="pstrut" style="height:3em;"></span><spanclass="mord"><spanclass="mord textrm">E</span></span></span></span><spanclass="vlist-s"></span></span><spanclass="vlist-r"><spanclass="vlist" style="height:0.2155em;"><span></span></span></span></span><spanclass="mspace" style="margin-right:-0.125em;"></span><spanclass="mord textrm">X</span></span></span></span></span></span>." /><metaproperty="og:description" content="This post is here to test <span class="katex"><spanclass="katex-mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mpaddedvoffset="-0.55ex"><mstylescriptlevel="0" displaystyle="false"><mtext>J</mtext></mstyle></mpadded><mspacewidth="-0.1293em"/><mtext>E</mtext><mspacewidth="-0.1077em"/><mpaddedvoffset="-0.5ex"><mstylescriptlevel="0" displaystyle="false"><mtext>K</mtext></mstyle></mpadded><mspacewidth="-0.3017em"/></mrow><mtext>TeX</mtext></mrow><annotationencoding="application/x-tex">\jektex</annotation></semantics></math></span><spanclass="katex-html" aria-hidden="true"><spanclass="base"><spanclass="strut" style="height:0.9204em;vertical-align:-0.2371em;"></span><spanclass="mord text"><spanclass="vlist-t vlist-t2"><spanclass="vlist-r"><spanclass="vlist" style="height:0.4463em;"><spanstyle="top:-2.763em;"><spanclass="pstrut" style="height:3em;"></span><spanclass="mord"><spanclass="mord">J</span></span></span></span><spanclass="vlist-s"></span></span><spanclass="vlist-r"><spanclass="vlist" style="height:0.2371em;"><span></span></span></span></span><spanclass="mspace" style="margin-right:-0.1293em;"></span><spanclass="mord">E</span><spanclass="mspace" style="margin-right:-0.1077em;"></span><spanclass="vlist-t vlist-t2"><spanclass="vlist-r"><spanclass="vlist" style="height:0.4678em;"><spanstyle="top:-2.7845em;"><spanclass="pstrut" style="height:3em;"></span><spanclass="mord"><spanclass="mord">K</span></span></span></span><spanclass="vlist-s"></span></span><spanclass="vlist-r"><spanclass="vlist" style="height:0.2155em;"><span></span></span></span></span><spanclass="mspace" style="margin-right:-0.3017em;"></span></span><spanclass="mord text"><spanclass="mord textrm">T</span><spanclass="mspace" style="margin-right:-0.1667em;"></span><spanclass="vlist-t vlist-t2"><spanclass="vlist-r"><spanclass="vlist" style="height:0.4678em;"><spanstyle="top:-2.7845em;"><spanclass="pstrut" style="height:3em;"></span><spanclass="mord"><spanclass="mord textrm">E</span></span></span></span><spanclass="vlist-s"></span></span><spanclass="vlist-r"><spanclass="vlist" style="height:0.2155em;"><span></span></span></span></span><spanclass="mspace" style="margin-right:-0.125em;"></span><spanclass="mord textrm">X</span></span></span></span></span>, a lightweight jekyll plugin for LaTeX rendering <spanclass="katex"><spanclass="katex-mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mtext>LaTeX</mtext></mrow><annotationencoding="application/x-tex">\LaTeX</annotation></semantics></math></span><spanclass="katex-html" aria-hidden="true"><spanclass="base"><spanclass="strut" style="height:0.8988em;vertical-align:-0.2155em;"></span><spanclass="mord text"><spanclass="mord textrm">L</span><spanclass="mspace" style="margin-right:-0.36em;"></span><spanclass="vlist-t"><spanclass="vlist-r"><spanclass="vlist" style="height:0.6833em;"><spanstyle="top:-2.905em;"><spanclass="pstrut" style="height:2.7em;"></span><spanclass="mord"><spanclass="mord textrm mtight sizing reset-size6 size3">A</span></span></span></span></span></span><spanclass="mspace" style="margin-right:-0.15em;"></span><spanclass="mord text"><spanclass="mord textrm">T</span><spanclass="mspace" style="margin-right:-0.1667em;"></span><spanclass="vlist-t vlist-t2"><spanclass="vlist-r"><spanclass="vlist" style="height:0.4678em;"><spanstyle="top:-2.7845em;"><spanclass="pstrut" style="height:3em;"></span><spanclass="mord"><spanclass="mord textrm">E</span></span></span></span><spanclass="vlist-s"></span></span><spanclass="vlist-r"><spanclass="vlist" style="height:0.2155em;"><span></span></span></span></span><spanclass="mspace" style="margin-right:-0.125em;"></span><spanclass="mord textrm">X</span></span></span></span></span></span>." /><linkrel="canonical" href="[http://localhost:4000/no-style-please/jektex-post.html](view-source:http://localhost:4000/no-style-please/jektex-post.html)" />
<metaproperty="og:url" content="http://localhost:4000/no-style-please/jektex-post.html" />
<metaproperty="og:site_name" content="no style, please!" />
<metaproperty="og:type" content="article" />
<metaproperty="article:published_time" content="2023-02-03T00:00:00+01:00" />
<metaname="twitter:card" content="summary" />
<metaproperty="twitter:title" content="Jektex Post" />
<scripttype="application/ld+json">
{"headline":"Jektex Post","dateModified":"2023-02-03T00:00:00+01:00","datePublished":"2023-02-03T00:00:00+01:00","@type":"BlogPosting","author":{"@type":"Person","name":"Riccardo Graziosi"},"mainEntityOfPage":{"@type":"WebPage","@id":"http://localhost:4000/no-style-please/jektex-post.html"},"url":"http://localhost:4000/no-style-please/jektex-post.html","description":"This post is here to test \<span class="katex-error" title="ParseError: KaTeX parse error: Expected 'EOF', got '}' at position 109: …s://schema.org"}̲</script>
<!-- …" style="color:#cc0000">\\jektex\\), a lightweight jekyll plugin for LaTeX rendering \\(\\LaTeX\\).","@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<link type="application/atom+xml" rel="alternate" href="http://localhost:4000/no-style-please/feed.xml" title="no style, please!" /><link rel="shortcut icon" type="image/x-icon" href="/no-style-please/logo.png" />
<link rel="stylesheet" href="/no-style-please/assets/css/main.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css" integrity="sha384-MlJdn/WNKDGXveldHDdyRP1R4CTHr3FeuDNfhsLPYrq2t0UBkUdK2jyTnXPEK1NQ" crossorigin="anonymous">
</head>
Is there a way to escape quotes in the tags ?
The text was updated successfully, but these errors were encountered:
yagarea
changed the title
This plugin renders invalid html head if article contains latex equasion
This plugin renders invalid html head if article contains raw html
Mar 2, 2024
In the article is an emoji used that rendered as a bootstrap icon. <i class="bi bi-emoji-frown-fill"></i>.
In the description field in the JSON (formatted for readability) it is added as raw html:
{
"@context":"https://schema.org",
"@type":"BlogPosting",
"author": {
"@type":"Person",
"name":"Frank Fesevur"
},
"dateModified":"2024-10-20T15:31:58+02:00",
"datePublished":"2024-10-20T15:31:58+02:00",
"description":"Als groot liefhebber van oude kaas, houd ik ook van Oude Kaassalade. Alleen vindt blijkbaar iedereen dat om de een of andere reden daar altijd mosterd in moet. Maar ik ben geen fan van mosterd, om het voorzichtig te zeggen. Dan blijft er niet zoveel keuze over. <i class="bi bi-emoji-frown-fill"></i>","headline":"Oude kaassalade zonder mosterd",
"mainEntityOfPage": {
"@type":"WebPage",
"@id":"https://www.fesevur.com/2024/10/20/oude-kaas-salade/"
},
"url":"https://www.fesevur.com/2024/10/20/oude-kaas-salade/"
}
This is my article:
This is my head definition:
And this is result:
Is there a way to escape quotes in the tags ?
The text was updated successfully, but these errors were encountered: