xfun 0.39
-
Fixed a bug that
protect_math()
fails to protect the starting$$
that has leading white spaces. -
Added a function
strip_html()
to remove HTML tags and comments from text. -
The function
alnum_id()
will remove HTML tags and comments from text (usingstrip_html()
) before converting it to an ID string. -
Added a function
env_option()
to retrieve an option value fromoptions()
. If the option does not exist there, check the environment variables. This provides a way for users to set an option via eitheroptions()
or an environment variable.