diff --git a/vendor/plugins/maruku/lib/maruku/output/to_html.rb b/vendor/plugins/maruku/lib/maruku/output/to_html.rb index f773ebce..5e8e2959 100644 --- a/vendor/plugins/maruku/lib/maruku/output/to_html.rb +++ b/vendor/plugins/maruku/lib/maruku/output/to_html.rb @@ -764,7 +764,8 @@ of the form `#ff00ff`. url = ref[:url] title = ref[:title] a['src'] = url.to_s - a['alt'] = children_to_s + a['alt'] = children_to_s + a['title'] = title.to_s if title else maruku_error"Could not find id = #{id.inspect} for\n #{self.inspect}" tell_user "Could not create image with ref_id = #{id.inspect};"+ @@ -785,6 +786,7 @@ of the form `#ff00ff`. a = create_html_element 'img' a['src'] = url.to_s a['alt'] = children_to_s + a['title'] = title.to_s if title return a end diff --git a/vendor/plugins/maruku/spec/block_docs/images.md b/vendor/plugins/maruku/spec/block_docs/images.md index 1bcb5a84..21b9dd63 100644 --- a/vendor/plugins/maruku/spec/block_docs/images.md +++ b/vendor/plugins/maruku/spec/block_docs/images.md @@ -54,13 +54,13 @@ md_el(:document,[ *** Output of to_html ***
This page does not uilizes
-Please mouseover to see the title:
+Please mouseover to see the title:
-Please mouseover to see the title:
+Please mouseover to see the title:
-I’ll say it one more time: this page does not use
+I’ll say it one more time: this page does not use
-This is double size:
+This is double size:
*** Output of to_latex *** This page does not uilizes diff --git a/vendor/plugins/maruku/spec/block_docs/inline_html.md b/vendor/plugins/maruku/spec/block_docs/inline_html.md index 75d03ef1..39d9dd5d 100644 --- a/vendor/plugins/maruku/spec/block_docs/inline_html.md +++ b/vendor/plugins/maruku/spec/block_docs/inline_html.md @@ -59,7 +59,7 @@ md_el(:document,[ md_html(""), md_par(["Without closing:"]), md_html(""), - md_html("\n\t\tThis is *true* markdown text (no paragraph)\n\t
\n\t\n\t\tThis is *true* markdown text (block paragraph)\n\t
\n\n This is *true* markdown text (no paragraph)\n
\n\n This is *true* markdown text (block paragraph)\n
\nThis is a *true* markdown text. (no par) | \nThis is *true* markdown text. (par) | \n
See foo’ bar
+See foo’ bar
*** Output of to_latex *** See \href{http://agorf.gr/}{foo'{} bar} *** Output of to_md *** diff --git a/vendor/plugins/maruku/spec/block_docs/math/equations.md b/vendor/plugins/maruku/spec/block_docs/math/equations.md index f5e82659..32c358f7 100644 --- a/vendor/plugins/maruku/spec/block_docs/math/equations.md +++ b/vendor/plugins/maruku/spec/block_docs/math/equations.md @@ -22,10 +22,14 @@ md_el(:document,[ md_el(:equation,[],{:label=>nil,:math=>" x = y \n",:num=>nil},[]) ],{},[]) *** Output of to_html *** - x = y
x = y
-
x = y
-
x = y
-
x = y
x
+= y
+
+x = y
+
x = y
+
+
Here are some formulas:
\alpha
\alpha
x^{n}+y^{n} \neq z^{n}
x^{n}+y^{n} \neq z^{n}
That’s it, nothing else is supported.