Commit 0625d1c
authored
Fix: Add Doctype to be in standard mode (#17087)
In this PR, I added the `<!DOCTYPE html>` in the HtmlRenderer file.
I combined in the def page content the tag html with all the content of
the page (head, body,...) and the Doctype.
## Result :
<img width="400" alt="Screenshot 2023-03-13 at 16 03 43"
src="https://user-images.githubusercontent.com/44496264/224742326-280b1f86-e578-4f25-8d13-9ca39f6c0aec.png">
(On chrome)
<img width="400" alt="Screenshot 2023-03-13 at 16 04 36"
src="https://user-images.githubusercontent.com/44496264/224742405-c5dbc809-c085-4cde-aa4d-4faffc088682.png">
Fixes #168031 parent dcf5f9d commit 0625d1c
File tree
1 file changed
+5
-1
lines changed- scaladoc/src/dotty/tools/scaladoc/renderers
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
0 commit comments