Changes
-
Add another optional argument to the
escape
helper, to disallow replacing of hyphens.Previously,
escape(str, typographic: true)
did replace the hyphen between word-characters with"=
(i.e. the babel shorthand for a hard-hyphen in German locale).Now it is possible to disable the hyphenation replacement explicitly:
<%= escape str, hyphenation: false %>
The default value for the
hyphenation
option defaults to the value given to thetypographic
option (which in turn is true by default).
Changes
This is a maintenance release. Expect full compatability with v0.5.0.
- update dependencies
- add specs for rails/main
Changes
- add support for inline files:
<%= texd_inline "contents\n", "filename.txt" %>
Changes
- fix deprecation warning ("constant ::UploadIO is deprecated")
Changes
- add support for configurable error handling
Changes
- add support for Texd reference store
- add support for Basic Auth credentials
Fixes
escape
helper now handles nil values- improve Ruby 3.x compatability
Changes
- state arguments for
Texd.render
/Texd::Document.render
explicitly (forbid no arbitrary arguments) - refactor template locals
- First public release