mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-20 07:57:49 +00:00
Fix escaping issues by adding safe filters in more places (#678)
This commit is contained in:
committed by
GitHub
parent
50aaa206bf
commit
7f4fc340ad
@@ -24,7 +24,7 @@
|
||||
<h1 class="masthead-title">
|
||||
<a href="/first-edition" title="Home">{{ config.title }} (First Edition)</a>
|
||||
</h1>
|
||||
<p><small>{{ config.extra.subtitle }}</small></p>
|
||||
<p><small>{{ config.extra.subtitle | replace(from=" ", to=" ") | safe }}</small></p>
|
||||
</header>
|
||||
|
||||
<main>{% block main %}{% endblock main %}</main>
|
||||
@@ -35,7 +35,7 @@
|
||||
<hr>
|
||||
<small>
|
||||
© <time datetime="2017">2017</time>. All rights reserved.
|
||||
<a href="{{ get_url(path="@/pages/contact.md") }}">Contact</a>
|
||||
<a href="{{ get_url(path="@/pages/contact.md") | safe }}">Contact</a>
|
||||
</small>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
|
||||
{% block introduction %}
|
||||
|
||||
<p>These posts explain how to handle CPU exceptions using naked functions. Historically, these posts were the main exception handling posts before the <code>x86-interrupt</code> calling convention and the <code>x86_64</code> crate existed. Our new way of handling exceptions can be found in the <a href="{{ get_url(path="@/first-edition/posts/09-handling-exceptions/index.md") }}">“Handling Exceptions”</a> post.</p>
|
||||
<p>These posts explain how to handle CPU exceptions using naked functions. Historically, these posts were the main exception handling posts before the <code>x86-interrupt</code> calling convention and the <code>x86_64</code> crate existed. Our new way of handling exceptions can be found in the <a href="{{ get_url(path="@/first-edition/posts/09-handling-exceptions/index.md") | safe }}">“Handling Exceptions”</a> post.</p>
|
||||
|
||||
{% endblock introduction %}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
|
||||
<div class="warning">
|
||||
<b>No longer updated!</b> You are viewing the first edition of “Writing an OS in Rust”, which is no longer updated. You can find the second edition <a href="{{ get_url(path = "@/second-edition/_index.md") }}">here</a>.
|
||||
<b>No longer updated!</b> You are viewing the first edition of “Writing an OS in Rust”, which is no longer updated. You can find the second edition <a href="{{ get_url(path = "@/second-edition/_index.md") | safe }}">here</a>.
|
||||
</div>
|
||||
|
||||
<div id="bare-bones" class="post-category bare-bones">Bare Bones</div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</aside>
|
||||
|
||||
<div class="warning">
|
||||
<b>No longer updated!</b> You are viewing the a post of the first edition of “Writing an OS in Rust”, which is no longer updated. You can find the second edition <a href="{{ get_url(path = "@/second-edition/_index.md") }}">here</a>.
|
||||
<b>No longer updated!</b> You are viewing the a post of the first edition of “Writing an OS in Rust”, which is no longer updated. You can find the second edition <a href="{{ get_url(path = "@/second-edition/_index.md") | safe }}">here</a>.
|
||||
</div>
|
||||
|
||||
{{ page.content | safe }}
|
||||
|
||||
Reference in New Issue
Block a user