@@ -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 | } |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $tree = $this->tree_service->all()->get($ged); |
| 61 | 61 | |
| 62 | 62 | if ($tree instanceof Tree && $action === 'run') { |
| 63 | - $query = $request->getQueryParams(); |
|
| 63 | + $query = $request->getQueryParams(); |
|
| 64 | 64 | $query['report'] = basename(dirname($query['report'] ?? '')); |
| 65 | 65 | $query['tree'] = $tree->name(); |
| 66 | 66 | |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | // Defaults |
| 51 | 51 | public const DEFAULT_GENERATIONS = '4'; |
| 52 | 52 | public const DEFAULT_STYLE = self::CHART_STYLE_TREE; |
| 53 | - protected const DEFAULT_PARAMETERS = [ |
|
| 53 | + protected const DEFAULT_PARAMETERS = [ |
|
| 54 | 54 | 'generations' => self::DEFAULT_GENERATIONS, |
| 55 | 55 | 'style' => self::DEFAULT_STYLE, |
| 56 | 56 | ]; |
@@ -169,7 +169,7 @@ |
||
| 169 | 169 | case 'SEX': |
| 170 | 170 | $data = strtoupper($data); |
| 171 | 171 | break; |
| 172 | - } |
|
| 172 | + } |
|
| 173 | 173 | // Suppress "Y", for facts/events with a DATE or PLAC |
| 174 | 174 | if ($data === 'y') { |
| 175 | 175 | $data = 'Y'; |