User:Traveler100/LintErrors

Wikivoyage:LintErrors Expedition edit

Aim edit

Remove syntax entries that can cause errors in html formatting as Wikimedia moved from HTML4 to HTML5

Resources edit

Tasks edit

Removing format in listings edit

https://html.spec.whatwg.org/#the-bdi-element and https://html.spec.whatwg.org/#phrasing-content-2 vs https://html.spec.whatwg.org/#flow-content-2 putting multiple paragraphs inside BDI tags shouldn't work

  • remove <p> from inside content parameter of listings.
    • If possible simple take it and other linefeed out
    • replace with <div> text </div>
  • remove bullet points, i.e. * and : , from inside content parameter of listings.
    • Thinks like indented listing should be moved to separate listings

Fix uneven quotes edit

Alternative solutions under discussion edit

  • Add content2 and content3 parameters to listing
  • rewrite listing template in lua