Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15572

Quoted posts fail W3C Validator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.3.1-RC1
    • 3.2.2
    • Viewing posts
    • PHP 7.1.14, PostgreSQL 9.6.7 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 7.3.1 20180130 (Red Hat 7.3.1-2), 64-bit
      OS: Fedora 27
      phpBB style: prosilver
      Chrome web browser (can also use Firefox)
      Server: localhost

      Posts containing quoted posts fail the W3C validator.

      With the QuickInstall tool (no extensions, no customisation), create a new topic containing a single quoted post. 

      View the topic with the Chrome web browser, then right-click --> View page source.

      Go to the W3C validator, Nu Html Checker , then Check by "text input". Paste the page source into the text box, then "Check".

      An error is displayed:

      Error: Element div not allowed as child of element cite in this context. (Suppressing further errors from this subtree.)

      From line 247, column 244; to line 247, column 272

      ash">↑</a>*<div class="responsive-hide">*Feb 21

       Several Javascript warnings are also shown.

            Marc Marc
            Lady_G Lady_G
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: