Hydrophobefireman
2024-03-31 aa4f5294a3b0a8fa7e10d128c8f0258ad024ae73
fix: do not render <p> inside FolderContent article (#1044)

it can lead to nested <p>'s which is actually [invalid html](https://www.w3.org/TR/html401/struct/text.html#h-9.3.1:~:text=The%20P%20element%20represents%20a%20paragraph.%20It%20cannot%20contain%20block%2Dlevel%20elements%20(including%20P%20itself).)
1 files modified
4 ■■■ changed files
quartz/components/pages/FolderContent.tsx 4 ●●● patch | view | raw | blame | history
quartz/components/pages/FolderContent.tsx
@@ -47,9 +47,7 @@
    return (
      <div class={classes}>
        <article>
          <p>{content}</p>
        </article>
        <article>{content}</article>
        <div class="page-listing">
          {options.showFolderCount && (
            <p>