Skip to content
Snippets Groups Projects
Commit 828a250d authored by Garen Torikian's avatar Garen Torikian
Browse files

Append `tt` to the list of escaped tags

parent f1883079
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -12,8 +12,8 @@ markup('github/markup/rdoc', /rdoc/) do |content|
end
 
markup('org-ruby', /org/) do |content|
Orgmode::Parser.new(content, {
:allow_include_files => false,
Orgmode::Parser.new(content, {
:allow_include_files => false,
:skip_syntax_highlight => true
}).to_html
end
Loading
Loading
@@ -23,7 +23,9 @@ markup(:creole, /creole/) do |content|
end
 
markup(:wikicloth, /mediawiki|wiki/) do |content|
WikiCloth::WikiCloth.new(:data => content).to_html(:noedit => true)
wikicloth = WikiCloth::WikiCloth.new(:data => content)
WikiCloth::WikiBuffer::HTMLElement::ESCAPED_TAGS << 'tt'
wikicloth.to_html(:noedit => true)
end
 
markup(:asciidoctor, /adoc|asc(iidoc)?/) do |content|
Loading
Loading
Loading
Loading
@@ -18,6 +18,9 @@ Using Java from Ruby is JRuby's best-known feature---but you can also go in the
<a name="Red_Bridge_JRuby_Embed"></a>Red Bridge (JRuby Embed)</h1>
 
 
<p><tt>one-&lt;two</tt>
</p><pre>a-b</pre>
 
<p>JRuby has long had a private embedding API, which was closely tied to the runtime's internals and therefore changed frequently as JRuby evolved. Since version 1.4, however, we have also provided a more stable public API, known as Red Bridge or JRuby Embed. Existing Java programs written to the <a href="DirectJRubyEmbedding">legacy API</a> should still work, but we strongly recommend Red Bridge for all new projects.
</p>
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment