mitchellurgero / simpleblog

A SimpleBlog that uses my JSONDatabase class (Not a really good blog platform but small footprint and good example of how JSONDatabase class is and how to use it.`
2 stars 0 forks source link

line break from admin #2

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi, same linebreak issue that was in Bootforums when posting from this blog in /admin. Sorry i looked through the code and could not see how to fix it with the patch you made for BootForum. here is the patch for BootForum (without the first and last < - div class="panel-body" style="overflow:auto;word-wrap: break-word;">'.$pmd.'</div was just wondering if there was an easy fix to patch this blog in a similar manner.

mitchellurgero commented 6 years ago

When I get a moment I can put in the patch but technically it is unnecessary since there is no English word that is long enough to do what you are testing with.

mitchellurgero commented 6 years ago

Can you send a screenshot of what you encountered?

ghost commented 6 years ago

A good reason to fix it though would be if i set it up so others can have the admin password to write their own blogs, the fix would be great to protect other users from themselves. Its just the same as the bootforum one that you fixed. Here is a working example of it. https://www.mckayla.news/blog/?post=3