Jump to content

how to remove <br>


pickachu

Recommended Posts

you could get the position of a <pre> tag then find the position of the next </pre> and remove all of the <br>s in between look at strpos() the offset would help i think once you got the text between each <pre> you would have to go though it <br> by <br> so not to leave the <pre> tag.

 

Scott.

Link to comment
https://forums.phpfreaks.com/topic/129188-how-to-remove/#findComment-669793
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.