Man

Solve the problem that the code box displays the line number horizontally
After tossing the morning, I finally found the reason for...
扫描右侧二维码阅读全文
21
2019/01

Solve the problem that the code box displays the line number horizontally

After tossing the morning, I finally found the reason for the horizontal display of the following code line.


At first, I thought that the CSS file that changed the theme yesterday was accidentally changed. So I replaced the CSS file and found that the problem still existed. I started to change the CSS file of typecho. The problem still could not be solved. 

Then slowly replace the other files in the theme. (Because I yesterday tossed the theme, replaced all the Chinese characters into English, changed for a long time, all replacements have to be re-edited), one by one replacement file, trying to find out which file is wrong, but I finally put typecho All the files have been replaced and still not resolved. 

Later, I turned my target to a rich text editor plugin, and the conflict with the theme code style led to this situation, so I deleted the plugin and found that there is still this problem.

I crashed, I backed up the database, deleted it, created a new database, and found that it is not the reason of the database. I really have no way to aim at the database. I think there is no connection with the database. 

So give up, don't get it, just like this. 

The blog was overwhelmed by me, and I quickly recovered the data. Just as there is a big group in the group, I want to include the blog. After I have toss it, let him help me with it. 

Then I suddenly found out that my blog URL is: http://bulu.site/, but I clearly remember that I opened https, so I changed it to https://bulu.site/ and found that I can access it normally, click on an article. Found that the code problem is also solved! 

Damn, toss for a long time, the original problem is here, so I entered the BT panel and opened the "forced HTTP function"! 

OK, the problem is solved.




Scan QR codes and read them on your phone.
最后修改:2019 年 01 月 21 日 02 : 12 PM
如果觉得我的文章对你有用,请随意赞赏

2 条评论

  1. YIR

    自从用上了小绿锁,就再也回不去了。

    1. Man
      @YIR

      是的,我常常忽略https,导致经常发生各种各样的问题。
      Yes, I often ignore https, leading to all kinds of problems.

评论