diff options
Diffstat (limited to 'modules_v3/GEDFact_assistant/module.php')
| -rw-r--r-- | modules_v3/GEDFact_assistant/module.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/GEDFact_assistant/module.php b/modules_v3/GEDFact_assistant/module.php index 6068ae9007..aae07436d4 100644 --- a/modules_v3/GEDFact_assistant/module.php +++ b/modules_v3/GEDFact_assistant/module.php @@ -214,7 +214,7 @@ class GEDFact_assistant_WT_Module extends WT_Module { // Convert custom markup into HTML public static function formatCensusNote(WT_Note $note) { - global $controller; + global $controller, $WT_TREE; $headers = array( 'AgM' => 'Age at first marriage', @@ -303,7 +303,7 @@ class GEDFact_assistant_WT_Module extends WT_Module { '<p>' . $postamble . '</p>'; } else { // Not a census-assistant shared note - apply default formatting - return WT_Filter::expandUrls($note->getNote()); + return WT_Filter::formatText($note->getNote(), $WT_TREE); } } |
