Home › Forums › Back End › Try out my first PHP web app! › Reply To: Try out my first PHP web app!
September 24, 2014 at 8:55 pm
#184686
Participant
If you look around line 350 of parsedown.php, you’ll see that it automatically encodes HTML markup inside of code blocks. You are also encoding the entire comment (indiscriminately) when you save it to the database, so the stuff inside the code block is getting double-encoded.
Did you see my comment above about the $double_encode
parameter for htmlentities
?