RoboticSheep
Programmer
Im creating a website using Django outline, and as a field for users to fill in using certain notations it will take text and convert to HTML. Once the POST data has been sent by the user a class will then take it and by line and then by word check to see what needs to be changed into HTML.
Ok so thats all good, im receiving my POST's and the server side is all good, but im having a hell of a time trying to efficiently go through the sent string and convert. Any suggestions on a better way to do it? (since right now its really a hack job with for loops and if blocks)
Thanks
-RS
Ok so thats all good, im receiving my POST's and the server side is all good, but im having a hell of a time trying to efficiently go through the sent string and convert. Any suggestions on a better way to do it? (since right now its really a hack job with for loops and if blocks)
Thanks
-RS