summaryrefslogtreecommitdiff
path: root/includes/classes/class_reporthtml.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/classes/class_reporthtml.php')
-rw-r--r--includes/classes/class_reporthtml.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/classes/class_reporthtml.php b/includes/classes/class_reporthtml.php
index 40b8b09f5e..0a9eb909e6 100644
--- a/includes/classes/class_reporthtml.php
+++ b/includes/classes/class_reporthtml.php
@@ -630,6 +630,8 @@ class CellHTML extends Cell {
return;
}
$temptext = str_replace("#PAGENUM#", $html->PageNo(), $this->text);
+ // underline «title» part of Source item
+ $temptext = str_replace(array('«', '»'), array('<u>', '</u>'), $temptext);
// Setup the style name
if ($html->getCurrentStyle() != $this->styleName) {
@@ -1147,6 +1149,8 @@ class TextHTML extends Text {
$html->setCurrentStyle($this->styleName);
}
$temptext = str_replace("#PAGENUM#", $html->PageNo(), $this->text);
+ // underline «title» part of Source item
+ $temptext = str_replace(array('«', '»'), array('<u>', '</u>'), $temptext);
// If any text at all
if (!empty($temptext)) {