Skip to content
Browse files

correctly handle HTML entities in readings

  • Loading branch information...
1 parent 33d8eac commit e5be91b770adac27c0e96088a47bd62ab6da2e90 gbateson committed Feb 16, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/lib.php
View
2 mod/hotpot/lib.php
@@ -1269,7 +1269,7 @@ function xml_value($tags, $more_tags="[0]['#']") {
$value = utf8_decode($value);
// decode angle brackets
- $value = strtr($value, array('&#x003C;'=>'<', '&#x003E;'=>'>'));
+ $value = strtr($value, array('&#x003C;'=>'<', '&#x003E;'=>'>', '&#x0026;'=>'&'));
// remove white space between <table>, <ul|OL|DL> and <OBJECT|EMBED> parts
// (so it doesn't get converted to <br />)

0 comments on commit e5be91b

Please sign in to comment.
Something went wrong with that request. Please try again.