redcloth
redcloth copied to clipboard
RedCloth is a Ruby library for converting Textile into HTML.
I'd like to be able express such HTML: ```html One Two One Two # Output "Block of code" say = "Block of code" puts say Three Three ``` with Textile...
Prevent injection of the `t` and `textilize` methods into a `ERB` module through the `Util` module. When using the `i18n` gem in Rails it uses textilize method, instead of `translate`...
The following is an example of Textile text that does not format correctly to HTML using the textile specs. This Text: ``` (iii) Txt1. (5) _Italic._ (i)(_a_) txt2. (_b_) txt3....
When a given input is about to be parsed by the formatter either `#escape` or `#escape_pre` will be called depending on the context. When the input has UTF-8 characters like:...
I am having a weird issue where the first HTML element placed in a text gets `BR` elements after each line and the one's following after it don't have this...
``` |^. |_. First Header |_. Second Header | |-. | Content Cell | Content Cell | | Content Cell | Content Cell | ``` As written here: https://txstyle.org/doc/15/tables
http://redcloth.org/textile/phrase-modifiers/#insertions-and-deletions when fed this input ``` The difference is therefore -2 litres/min.\r\nThe percentage change in the rates are given by mjsub--4141850601493703819-busjm slower ``` produces this output ``` The difference is...
Tables with nested pre blocks do not display correctly ``` |/3. Example Textile: |This|is|a|row| {background:#ddd}. |This|is|grey|row| | |This|is|a|row| {background:#ddd}. |This|is|grey|row| ``` Expected:  Actual: 