This commit is contained in:
Martin Monperrus
2017-10-27 22:44:19 +02:00
parent cb0424fd89
commit fa4e80bbab
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -1226,7 +1226,9 @@ class BibEntry {
// we assume that "comment" is never latex code
// but instead could contain HTML code (with links using the character "~" for example)
// so "comment" is not transformed too
if ($name!='url' && $name!='comment') {
if ($name!='url' && $name!='comment'
&& !preg_match('/^hp_/',$name) // homepage links should not be transformed with latex2html
) {
$value = $this->transformValue($value);
// 4. transform existing encoded character in the new format