Home › Forums › Support › Pre Tag Problem in comment box This topic has 4 replies, 2 voices, and was last updated 3 years, 11 months ago by Suraj Katwal. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts May 7, 2020 at 1:52 am #1273252 Suraj Katwal When I wrap the code inside pre tag in content part, it is working fine but when I use to wrap it on the comment box, the code inside pre tag is printing. Any way to solve this? May 7, 2020 at 7:16 am #1273640 DavidStaff Customer Support Hi there, WordPress limits what HTML elements can be used in the comments form – they provide a filter for it – you can see an example here: https://wordpress.stackexchange.com/a/340528 May 7, 2020 at 7:24 am #1273650 Suraj Katwal The code is not working and also I think I have to leave it as default to prevent hackers from injecting malicious code. May 7, 2020 at 8:34 am #1273980 DavidStaff Customer Support Yes its a good security precaution as well as stopping users from adding other ‘stuff’ you may not want visible in comments. May 7, 2020 at 6:57 pm #1274693 Suraj Katwal Thank You, David Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In