Lines Matching refs:canonical
94 public function canonical(string $value): string function in Fisharebest\\Webtrees\\Elements\\AbstractElement
156 $value = $this->canonical($value);
310 $canonical = $this->canonical($value);
312 return $values[$canonical] ?? '<bdi>' . e($value) . '</bdi>';
334 $canonical = $this->canonical($value);
336 if (str_contains($canonical, 'http://') || str_contains($canonical, 'https://')) {
337 $html = Registry::markdownFactory()->autolink($canonical);
340 $html = nl2br(e($canonical), false);
360 $canonical = $this->canonical($value);
366 return Registry::markdownFactory()->markdown($canonical, $tree);
369 return Registry::markdownFactory()->autolink($canonical, $tree);
382 $canonical = $this->canonical($value);
384 if (str_starts_with($canonical, 'https://') || str_starts_with($canonical, 'http://')) {
385 return '<a dir="auto" href="' . e($canonical) . '">' . e($value) . '</a>';
400 $canonical = $this->canonical($value);
402 if (is_numeric($canonical)) {
403 return I18N::number((int) $canonical);