olsak / OpTeX

OpTeX - LuaTeX format with extended Plain TeX macros
http://petr.olsak.net/optex/
35 stars 14 forks source link

Fix function registered for input_level_string #58

Closed vlasakm closed 3 years ago

vlasakm commented 3 years ago

The callback always expects a string to be returned.

Also change the coding style to match the rest of the file.

Consider using "rebase and merge" for this pull request. This will not create additional "merge" commit (which in this simple case only makes the git history less clear).

https://docs.github.com/en/github/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges#rebase-and-merge-your-pull-request-commits