@@ -154,7 +154,7 @@ |
||
154 | 154 | } |
155 | 155 | } |
156 | 156 | |
157 | - if ($values[$i] !== '' || $children_with_values && !$element instanceof AbstractXrefElement) { |
|
157 | + if ($values[$i] !== '' || $children_with_values && !$element instanceof AbstractXrefElement) { |
|
158 | 158 | if ($values[$i] === '') { |
159 | 159 | $gedcom_lines[] = $levels[$i] . ' ' . $tags[$i]; |
160 | 160 | } else { |
@@ -108,7 +108,7 @@ |
||
108 | 108 | if (is_string($content)) { |
109 | 109 | $headers['content-type'] ??= 'text/html; charset=UTF-8'; |
110 | 110 | } else { |
111 | - $content = json_encode($content, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE); |
|
111 | + $content = json_encode($content, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE); |
|
112 | 112 | $headers['content-type'] ??= 'application/json'; |
113 | 113 | } |
114 | 114 |
@@ -104,7 +104,7 @@ |
||
104 | 104 | $converter = new MarkDownConverter($environment); |
105 | 105 | |
106 | 106 | $html = $converter->convert($markdown)->getContent(); |
107 | - $html = strtr($html, ["</p>\n<p>" => '<br><br>' ]); |
|
107 | + $html = strtr($html, ["</p>\n<p>" => '<br><br>']); |
|
108 | 108 | |
109 | 109 | return trim(strip_tags($html, ['a', 'br'])); |
110 | 110 | } |