Django development personal blog encountered reading html strings from the database to the front-end browser part of the label can not be displayed correctly?

problem description

recently in learning Django to build a personal blog, using Ueditor (also tried Kindeditor) as the rich text editor of the background admin interface, editing some text found that part of the format can not be displayed correctly by the browser, the following is a screenshot:


check the source code of the page and find that the < H1 > tag of the title is correct, but why can the browser not display correctly?
test found that H1 and H2 can not be displayed, but h3 can display normally, the browser gets the html source file from the server is the correct tag format, why H1 and H2 can not be rendered by the browser, h3h4h5h6 and other tags can be displayed properly?

the environmental background of the problems and what methods you have tried

  • Python 2.7
  • Django 1.8
  • MySQL 5.7
  • IDE pycharm
  • Browser: firefox chrome safari

both the {% autoescape off%} and the safe filter in the Django template file have been tried

I hope you can give some suggestions, Thanks!

Jun.11,2021

does not see anything abnormal by description.
you can print in the background to see what the data label looks like. Personally, I am rich text at the back end, and the front end is rendered with the markdown module.


see if the style is overwritten?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be96d0-31994.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be96d0-31994.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?