Skip to content

xfun 0.39

Compare
Choose a tag to compare
@yihui yihui released this 20 Apr 13:41
· 246 commits to main since this release
  • 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 (using strip_html()) before converting it to an ID string.

  • Added a function env_option() to retrieve an option value from options(). If the option does not exist there, check the environment variables. This provides a way for users to set an option via either options() or an environment variable.