summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-10-18 11:25:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-10-18 11:25:27 +0000
commitff449b197f2813412b4e54c287b2b16cd3299ea8 (patch)
tree7853b52e721884c4bc988630ca6ffbd0f5bb6009 /lib
parenta0c29d8f99c4b055cd5463703a9a71b1ff0a7bba (diff)
downloadredmine-ff449b197f2813412b4e54c287b2b16cd3299ea8.tar.gz
redmine-ff449b197f2813412b4e54c287b2b16cd3299ea8.zip
Fixed: textile footnotes no longer work after r1113 (#974).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1941 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redcloth3.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/redcloth3.rb b/lib/redcloth3.rb
index 6f4fc9863..6815ecb7c 100644
--- a/lib/redcloth3.rb
+++ b/lib/redcloth3.rb
@@ -272,7 +272,7 @@ class RedCloth3 < String
@shelf = []
textile_rules = [:refs_textile, :block_textile_table, :block_textile_lists,
:block_textile_prefix, :inline_textile_image, :inline_textile_link,
- :inline_textile_code, :inline_textile_span]
+ :inline_textile_code, :inline_textile_span, :glyphs_textile]
markdown_rules = [:refs_markdown, :block_markdown_setext, :block_markdown_atx, :block_markdown_rule,
:block_markdown_bq, :block_markdown_lists,
:inline_markdown_reflink, :inline_markdown_link]
@@ -684,7 +684,7 @@ class RedCloth3 < String
alias textile_h6 textile_p
def textile_fn_( tag, num, atts, cite, content )
- atts << " id=\"fn#{ num }\""
+ atts << " id=\"fn#{ num }\" class=\"footnote\""
content = "<sup>#{ num }</sup> #{ content }"
atts = shelve( atts ) if atts
"\t<p#{ atts }>#{ content }</p>"
@@ -1010,7 +1010,7 @@ class RedCloth3 < String
def glyphs_textile( text, level = 0 )
if text !~ HASTAG_MATCH
- pgl text
+ #pgl text
footnote_ref text
else
codepre = 0