Jump to content

How to exclude urls from wordwrap


Imad

Recommended Posts

I've considered this before and tbh i'm not sure, but I did think that: if I checked there was no *'s in the string (choose other if is), then sequentially replace all tags with a *, putting each to an array, then wordwrap and replace back sequentially. But no it doesn't work... unless you leave the link 'title', etc... Should work, but i've never got around to writing it!

 

There are other options, all just as messy...

In the end I just wrapped 'em in a div tag...

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.