I have a simple, site-specific search engine. It finds matches in a MySQL database using LIKE. Then it bolds the search terms before displaying the results to the user. And it also renders URLs clickable. So, say the user has searched for "perlmonks" and the page contains "you should all go to http://perlmonks.org, it's great!". We find the term in the database, we bold it, we render the URL clickable and display it to the user, but at this point, the HTML has become this: I have a simple, site-specific search engine. It finds matches in a MySQL database using LIKE. Then it bolds the search terms before displaying the results to the user. And it also renders URLs clickable. So, say the user has searched for "perlmonks" and the page contains "you should all go to http://perlmonks.org/?node_id=891739, it's great!". We find the term in the database, we bold it, we render the URL clickable and display it to the user, but at this point, the HTML has become this: I have a simple, site-specific search engine. It finds matches in a MySQL database using LIKE. Then it bolds the search terms before displaying the results to the user. And it also renders URLs clickable. So, say the user has searched for "perlmonks" and the page contains "you should all go to http://perlmonks.org/?node_id=;user=, it's great!". We find the term in the database, we bold it, we render the URL clickable and display it to the user, but at this point, the HTML has become this: