Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Generated HTML escaped once too many times

Started by Dylan Anderson 8 years ago · 0 replies · 618 views
8 years ago

After creating a page, it appears that suddenly Grav is escaping generated html, so I see the resulting characters on the screen, not rendered as HTML.

For example, here is the source code of the <head> of my site:

HTML
    <head>
        <meta charset="utf-8" />
    <title>PoInt developer documentation</title>
    <meta name="generator" content="GravCMS" />
<meta name="description" content="PoInt developer documentation" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no" />
    <link rel="alternate" type="application/atom+xml" href="https://mysite.ca/point/public/documentation/developer/feed:atom" title="Atom Feed" />
    <link rel="alternate" type="application/rss+xml" href="https://mysite.ca/point/public/documentation/developer/feed:rss" title="RSS Feed" />
    <link rel="icon" type="image/png" href="/point/public/documentation/developer/user/themes/learn2/images/favicon.png">

        &lt;link href=&quot;/point/public/documentation/developer/user/themes/learn2/css-compiled/nucleus.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
&lt;link href=&quot;/point/public/documentation/developer/user/themes/learn2/css-compiled/theme.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
&lt;link href=&quot;/point/public/documentation/developer/user/themes/learn2/css/font-awesome.min.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
&lt;link href=&quot;/point/public/documentation/developer/user/plugins/breadcrumbs/css/breadcrumbs.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
&lt;link href=&quot;/point/public/documentation/developer/user/plugins/highlight/css/learn.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
&lt;link href=&quot;/point/public/documentation/developer/user/plugins/login/css/login.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
&lt;link href=&quot;/point/public/documentation/developer/user/plugins/form/assets/form-styles.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;
&lt;link href=&quot;/point/public/documentation/developer/user/themes/learn2/css/featherlight.min.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot; /&gt;

                                &lt;script src=&quot;/point/public/documentation/developer/assets/aee837ac0839208f94e8d1134eaaee6e.js&quot; type=&quot;text/javascript&quot; &gt;&lt;/script&gt;

&lt;script&gt;
$(document).ready(function() {
                                anchors.options = {
                                    visible: &#039;hover&#039;,
                                    placement: &#039;right&#039;,

                                    truncate: 64
                                };
                                anchors.add(&#039;#body h2, #body h3, #body h4, #body h5&#039;);
                             });
hljs.initHighlightingOnLoad();

&lt;/script&gt;

    </head>

What possible setting could be doing this? I've got the latest of everything, and ran composer update.

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
3 66 25 minutes ago
Support · by Anna, 3 days ago
2 72 21 hours ago
Support · by Justin Young, 22 hours ago
1 40 22 hours ago
Support · by Duc , 1 week ago
2 76 6 days ago
Support · by Colin Hume, 1 week ago
2 70 6 days ago