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? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.