Skip to content

Commit

Permalink
some explanations
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Feb 15, 2024
1 parent 6d4ff18 commit 265836e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion papyri/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ def unicode_handler(argument, options, content):


def replace_hander(argument, options, content):
# likely need some checks that this is indeed a Unicode char
# Here we likely want to parse the content/argument and recurse.
# which might change slightly the API.
# I think here if necessary we return an unprocessedDirective,
# and the TSVisitor should recurs with generic_visit ?
return [MText(argument)]


Expand Down

0 comments on commit 265836e

Please sign in to comment.