]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #61263 - GuillaumeGomez:valid-html, r=Manishearth
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 1 Jun 2019 04:50:02 +0000 (06:50 +0200)
committerGitHub <noreply@github.com>
Sat, 1 Jun 2019 04:50:02 +0000 (06:50 +0200)
commit525d7deb6de47a600945450807c2f3ca04047bba
treed12bbef5c360c4155f2e0159700b5417a8a69cfa
parent837df52d85b925fda5d6142fbc1ad52303f173c1
parent35091620e6726b1f6262a2a3ae4575833fd994a9
Rollup merge of #61263 - GuillaumeGomez:valid-html, r=Manishearth

Don't generate div inside header (h4/h3/h...) elements

Fixes #60865.

According to the HTML spec, we're not supposed to put `div` elements inside heading elements (h4/h3/h...). It doesn't change the display as far as I could tell.

r? @QuietMisdreavus
src/librustdoc/html/render.rs