Commit Graph

3 Commits

Author SHA1 Message Date
Shein Alexey
d1e7999d5b Make the test faster, what was done:
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00
Hannes Magnusson
9f8501b3b7 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Moriyoshi Koizumi
139c26f795 - MFB: Fix bug #46478 (htmlentities() uses obsolete mapping table for character
entity references)
  (this should be gone to r292467)
2009-12-24 09:32:52 +00:00