Fix the TOC for unicode characters, fixes #423
This commit is contained in:
@ -106,7 +106,7 @@ class Processor implements DocumentProcessorInterface
|
||||
}
|
||||
}
|
||||
|
||||
$text = 'page_' . DauxHelper::slug(trim($text));
|
||||
$text = 'page_' . urlencode(trim($text));
|
||||
|
||||
// TODO :: check for uniqueness
|
||||
$node->data['attributes']['id'] = $text;
|
||||
|
Verwijs in nieuw issue
Block a user