MEH-Design / frix

A CMS based on atomic design principles.
MIT License
2 stars 1 forks source link

html assembly fails... hard #38

Closed MiniXC closed 8 years ago

MiniXC commented 8 years ago

From the files located under test/files should be assembled into the following html when calling /page1.

<!DOCTYPE html>
      <html>
        <head>
          <meta charset="utf-8">
          <title>Woody</title>
        </head>
        <body>
          <article>
            <header>
              <h1>Tree</h1>
              <h1>Baum</h1>
              <p>written by <a href="https://simple.wikipedia.org/wiki/Tree">Wikipedia</a></p>
            </header>
            <p>A tree is a tall plant with a trunk and branches made of wood.</p>
          </article>
        </body>
      </html>

But instead, we get this:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Woody</title>
  </meta></head>
  <body>
    <article>
  <header>
  <h1>Tree</h1>

  <h1>Baum</h1>

  <p>written by <a/></p>

</header>

  <p>A tree is a tall plant with a trunk and branches made of wood.</p>
</article>

  </body>
</html>

Looks like a essential problem in the core. Could have to do with self-closing tags and such.