Changeset 1151569
- Timestamp:
- 05/02/2015 04:19:07 AM (11 years ago)
- File:
-
- 1 edited
-
unit-converter/trunk/unit-converter.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
unit-converter/trunk/unit-converter.php
r184655 r1151569 317 317 $this->maps[$alias] = $unit; 318 318 // In order to detect the mapping in HTML, it may be necessary to check the HTML entity version of the unit. 319 $alias_html = htmlentities( utf8_decode($alias));319 $alias_html = htmlentities($alias, UTF-8); 320 320 if ($alias_html != $alias) { 321 321 $this->maps[$alias_html] = $unit;
Note: See TracChangeset
for help on using the changeset viewer.