Giter Site home page Giter Site logo

Non valid html about grav-theme-future HOT 3 CLOSED

BugHunter2k avatar BugHunter2k commented on July 27, 2024
Non valid html

from grav-theme-future.

Comments (3)

absalomedia avatar absalomedia commented on July 27, 2024

Can you supply an example? It's a bit hard to diagnose without it.

I installed a copy of your Front End plugin & can't replicate the issue. Due to the way the theme is designed, I also can't see the Fred editing icon, which may be an issue with Fred as it assumes the page editing should be on the left.

from grav-theme-future.

BugHunter2k avatar BugHunter2k commented on July 27, 2024

I got my plugin working. The icon was hidden under the menubar :) After moving it around a little bit I found it. (I didn't figured out why z-index wasn't working here as expected)

Nevertheless you generate invalid HTML for page content with headlines for example:

<p itemprop="articleBody"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ultricies tristique nulla et mattis. Phasellus id massa eget nisl mi sagittis et facilisis tortor volutpat. Etiam tincidunt urna mattis erat placerat placerat ac eu tellus.</p>
<h2>Lorem ipsum dolor sit amet,</h2>
<p>consectetur adipiscing elit. Donec ultricies tristique nulla et mattis. Phasellus id massa eget nisl congue blandit sit amet id ligula. Praesent et nulla eu augue tempus sagittis. ac, dictum a nunc.</p></p>

You see there is an <h2> inside the <p> And nestetd <p> tags.

If you don't care about valid code you can close this issue.
Thanks

from grav-theme-future.

absalomedia avatar absalomedia commented on July 27, 2024

@BugHunter2k I've restructured the way the ArticeBody area works. This should remove the issue with the nested <p> tags. I'm still unable to reproduce the issue where an extra unclassed <h2> element is generated. Release 1.0.6 should help you now

from grav-theme-future.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.