Displaying 2 results from an estimated 2 matches for "siddick".
Did you mean:
riddick
2009 Sep 30
3
How to search and replace all urls on a HTML string using RUBY gsub
Hi ,
I trying to search and replace all urls on a HTML string
using gsub .
CODE
html = "<a href=''http://site.com.br''><img src=''http://site3.com/
image.jpg''></a><a href=''http://newx.com.br''><img src=''http://localhost/
imagem.jpg''></a>";
pattern = /<a
2009 Mar 30
4
Displaying HTML code in view
Hi,
In my application i have the facility for the users to upload the file
which has code ...
And when i want to view the contents of the file uploaded in my view,in
case if the uploaded file is an html file then i am not able to display
the exact code...Instead the html content in that code gets executed.
if i have uploaded example.html
<html>
<head>