fixes a bug in Javascript progressive enhancement (bug reported by Elvis)
This commit is contained in:
+1
-1
@@ -1544,7 +1544,7 @@ class BibEntry {
|
|||||||
function toEntryUnformatted() {
|
function toEntryUnformatted() {
|
||||||
$result = "";
|
$result = "";
|
||||||
$result .= '<pre class="purebibtex">'; // pre is nice when it is embedded with no CSS available
|
$result .= '<pre class="purebibtex">'; // pre is nice when it is embedded with no CSS available
|
||||||
$entry = str_replace('<','<',$this->getFullText());
|
$entry = htmlspecialchars($this->getFullText());
|
||||||
if ($this->hasField('url')) {
|
if ($this->hasField('url')) {
|
||||||
$url = $this->getField('url');
|
$url = $this->getField('url');
|
||||||
// this is not a parsing but a simple replacement
|
// this is not a parsing but a simple replacement
|
||||||
|
|||||||
Reference in New Issue
Block a user