Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Strange behaviour

Started by Muut Archive 10 years ago · 2 replies · 493 views
10 years ago

Hey everybody,

in the final html output are some <p> tags I cannot explain myself where those came from.

My template file the relevant block is:
<div class="main-container">
{% block content %}

My default.md starts with html code like this:
<a id="" class="in-page-link" data-scroll-id="cover"></a>
<section class="cover height-70 imagebg" data-overlay="2">

The compiled html result looks like this:
<div class="main-container"> <p> <a id="" class="in-page-link" data-scroll-id="cover"></a> </p>
<section class="cover height-70 imagebg" data-overlay="2">

So where do those <p> tags come from? They are not in the template file, nor in the page files.
Any hint is appreciated.

Thanks

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2566 9 years ago
Archive · by Muut Archive, 9 years ago
2 1690 9 years ago
Archive · by Muut Archive, 9 years ago
2 4982 9 years ago
Archive · by Muut Archive, 9 years ago
1 3806 9 years ago
Archive · by Muut Archive, 9 years ago
3 1799 9 years ago