|
|
@ -7,6 +7,7 @@ |
|
|
|
* License: GPL 2.0 |
|
|
|
*/ |
|
|
|
|
|
|
|
use Friendica\DI; |
|
|
|
use Friendica\Core\PConfig; |
|
|
|
use Friendica\Core\Addon; |
|
|
|
|
|
|
@ -66,6 +67,6 @@ function typography_render ( &$a, &$o) { |
|
|
|
$typo->set_diacritic_language($lng); |
|
|
|
$typo->set_hyphenation_language($lng); |
|
|
|
$o['html'] = $typo->process($o['html']); |
|
|
|
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->getBaseurl() . '/addon/typography/style.css' . '" media="all" />'; |
|
|
|
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . DI::baseUrl()->get() . '/addon/typography/style.css' . '" media="all" />'; |
|
|
|
unset($l); |
|
|
|
} |