jwhite68 Posted September 27, 2007 Share Posted September 27, 2007 I am receiving some fairly poor HTML from a client. eg. it contains "· " instead of using <ul><li> tags to create bullets. Does anyone have any suggestions how I can convert this can of info? Link to comment https://forums.phpfreaks.com/topic/70878-how-to-handle-poor-client-data-in-html/ Share on other sites More sharing options...
php_tom Posted September 29, 2007 Share Posted September 29, 2007 It would probably be easiest to do this server-side using PHP or another dynamic script. But you could do it with JavaScript string functions... see http://www.w3schools.com/jsref/jsref_obj_string.asp. Link to comment https://forums.phpfreaks.com/topic/70878-how-to-handle-poor-client-data-in-html/#findComment-358055 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.