@@ -145,12 +145,12 @@ |
||
| 145 | 145 | $id = 'collapse-' . Uuid::uuid4()->toString(); |
| 146 | 146 | $expanded = $tree->getPreference('EXPAND_NOTES') === '1'; |
| 147 | 147 | |
| 148 | - if ($one_line_only) { |
|
| 149 | - return |
|
| 150 | - '<div class="fact_NOTE">' . |
|
| 151 | - I18N::translate('<span class="label">%1$s:</span> <span class="field" dir="auto">%2$s</span>', $label, $html) . |
|
| 152 | - '</div>'; |
|
| 153 | - } |
|
| 148 | + if ($one_line_only) { |
|
| 149 | + return |
|
| 150 | + '<div class="fact_NOTE">' . |
|
| 151 | + I18N::translate('<span class="label">%1$s:</span> <span class="field" dir="auto">%2$s</span>', $label, $html) . |
|
| 152 | + '</div>'; |
|
| 153 | + } |
|
| 154 | 154 | |
| 155 | 155 | return |
| 156 | 156 | '<div class="fact_NOTE">' . |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | { |
| 118 | 118 | // A note structure can contain an inline note or a linked to a shared note. |
| 119 | 119 | if (preg_match('/^@(' . Gedcom::REGEX_XREF . ')@$/', $value, $match) === 1) { |
| 120 | - $note = Registry::noteFactory()->make($match[1], $tree); |
|
| 120 | + $note = Registry::noteFactory()->make($match[1], $tree); |
|
| 121 | 121 | |
| 122 | 122 | if ($note === null) { |
| 123 | 123 | return parent::labelValue($value, $tree); |