From: Priyank Shah on 31 Jul 2010 07:28 Hi, I read some html source and remove all tags and just take the contents. So when i see that contents in ruby output it shows me unknown charaters like "-á" and it shows inplace <strong>hello </strong> so it shows like "hello-á" and reason is space before </strong> tag. so if any one have idea using regex or any thing for remove this space from tag or this charater then please give me some ideas. Ex: Original Html: <strong>Hello </strong> After remove Html tags in ruby : hello-á Thanks, Priyank Shah -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: multiple connections with DBI and Mysql Next: How to use nokogiri For css file parse |