search for: htmlentiti

Displaying 15 results from an estimated 15 matches for "htmlentiti".

Did you mean: html_entity
2006 Jan 18
4
Ruby "htmlentities" replacement: code review please!
Hi Railers, For some time now I''ve been looking for a decent Rails equivalent of PHP''s "htmlentities" command, because ERB''s html_escape (or more commonly called as just "h", eg. <%=h @somevariable %> ) just doesn''t go far enough for me. Back in PHP land, I actually had an extended version of the htmlentities command to deal with all kinds of crazy chara...
2006 May 24
0
HTMLEntities.decode_entities - problems with output
All, I am trying to use the HTMLEntities library to translate HTML entities into their character equivalents so that I can print a text version of some HTML to a file. However, I am having trouble understanding how to successfully emit the converted text as a string without ending up with weird UTF-8 characters in front of the conv...
2007 Mar 20
6
bad URI problem when submitting a form
Hi all, I''ve a problem when submitting a form : the URL seems to be invalid. I really don''t see the way I should try to solve that problem. I searched on the web, but didn''t found any kind of that problem. Here is the code : require ''mechanize'' agent = WWW::Mechanize.new page =
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
...4.0, 2.3.1, 2.1.1) capistrano (2.5.5, 2.5.3, 2.5.2, 2.5.0) cgi_multipart_eof_fix (2.5.0) columnize (0.3.0, 0.2) daemons (1.0.10) fastthread (1.0.1) fxri (0.3.7) fxruby (1.6.19, 1.6.18, 1.6.17, 1.6.16) gem_plugin (0.2.3) highline (1.5.1, 1.5.0, 1.4.0) hoe (2.0.0, 1.12.2, 1.11.0, 1.8.3, 1.8.2, 1.8.0) htmlentities (4.0.0) linecache (0.43) log4r (1.0.5) mini_magick (1.2.5, 1.2.3) mongrel (1.1.5) mongrel_cluster (1.0.5) mongrel_service (0.3.4) mysql (2.7.3) needle (1.3.0) net-scp (1.0.2, 1.0.1) net-sftp (2.0.2, 2.0.1) net-ssh (2.0.11, 2.0.9, 2.0.8, 2.0.6, 2.0.4) net-ssh-gateway (1.0.1, 1.0.0) newgem (1.4.1,...
2006 Nov 13
1
php5 in centosplus update?
The recent htmlentities/htmlspecialchars bug was affecting all versions of PHP older than 5.2.0. With that in mind, I was just wondering if there is any timeframe to release a fix in centosplus repository for PHP5 package? I've noticed that Red Hat released fixed PHP5 packages for RHEL4 last week (php-5.1....
2006 Aug 03
0
gems package and rails folder
Hello, I can''t install gems package because I don''t the privilege on my provider ... So, where can I put my gems package (in my case it is: htmlentities). I try to copy the htmlentities folder to the lib folder of my rails app without success .. any idea thanks arnaud
2011 Nov 27
2
problem scraping using nokogiri - getting wrong characters
Hi all, I am scraping a table off of another site and inserting it onto my site. you can see an example on the initial page at: http://mthosts.heroku.com. I''m referring to the green box with the snowbird weather and snowfall information. this box has been scraped off of the snowbird site at: http://www.snowbird.com/ski_board/snowreport.php The problem is that on the snowbird site it
2007 Oct 15
2
Something is wrong with Camping::H in the svn version
...#39;' for {"user_id"=>2}:HashWithIndifferentAccess: The call was a simple "User.find @state.user_id" in my login controller... The following libraries are loaded manually: action_controller, action_view, mime/types, camping, camping/mab, camping/db, redcloth, erubis, htmlentities. With the old gem version and running on localhost with the camping command works everything fine. Greetings, Bence -- Nagy Bence -> Tipogr?l | www.tipogral.hu -> Tipokert | www.tipokert.hu -> Dekk | www.dekk.hu -> Magyar Grafika | www.mgonline.hu -> H?rkapu | www.hirkapu.hu
2006 May 18
2
Utility to translate HTML character entities into text?
Anyone know of a Ruby utility that will translate HTML character entities into text? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2010 Sep 13
10
Could not find [GEM] locally or in a repository
...r in a repository "gem install --no-rdoc --no-ri memcache-client" ERROR: could not find gem memcache-client locally or in a repository "gem install --no-rdoc --no-ri mime-types" ERROR: could not find gem mime-types locally or in a repository "gem install --no-rdoc --no-ri htmlentities" ERROR: could not find gem htmlentities locally or in a repository "gem install --no-rdoc --no-ri avatar" ERROR: could not find gem avatar locally or in a repository "gem install --no-rdoc --no-ri chronic" ERROR: could not find gem chronic locally or in a repository &q...
2014 Oct 22
2
special "what's my ip" pop account
Hello, I like to enable the allow_nets Feature (http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/AllowNets) for my customers. To help them knowing there own IP I imagine a special mailbox/loginuser at the pop3 server. That user could give a valid pop3 answer from a dummy pop3 server or simply throw a login error with customised answer containing the IP information. Has anybody done
2012 Dec 04
0
Empty test suite is run after every rake task
...tions, 0 failures, 0 errors My Gemfile is: source ''http://rubygems.org'' gem ''rack'' gem ''rails'', ''3.0.9'' gem "acl9", ''0.12.0'' gem "fastercsv"#, :version => "1.5.1" gem "htmlentities"#, :version => "4.2.0" gem "liquid"#, :version => "2.0.0" gem "SyslogLogger", :require => "syslog_logger"#, :version => "1.4.0" gem ''rest-client'', :require => ''rest_client'' gem &quo...
2008 Oct 14
6
Disabling XML character escaping for to_xml
Currently, it appears to_xml will automatically escape any entities into their corresponding &XXX representation. There''s a piece in the documentation that says "If $KCODE is set to u and encoding set to UTF8, then escaping will NOT be performed." Unfortunately, this doesn''t appear to be the case. Even after following the docs and ensuring that default_charset is
2008 Jun 12
10
Ajax.Updater not working in IE, tried everything
hi, i am basically using a button, Prototype/AJAX, and PHP to update a user''s location. something simple as typing ''Chicago, IL''. After the script, it rewrites the result in a div tag. here is the form i''m using: <div id="hometown_result">Aurora, IL</div> <form action="" method="post"
2008 Jan 11
26
Mongrel doesn''t start under Rails 2.0.2/Win XP
All, Mongrel 1.1.3 Rails 2.0.2 Ruby 1.8.6 Windows XP SP2 When I issue the command "ruby script/server" from any of my Rails projects on v. 2.0.2, I get a Windows dialog with the error: "The application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem." I''ve gone through the process of attempting to introduce