]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update tooltip.md 8115/head
authorAlex Hanna <tinnvec@gmail.com>
Mon, 8 Feb 2016 19:36:30 +0000 (13:36 -0600)
committerAlex Hanna <tinnvec@gmail.com>
Mon, 8 Feb 2016 19:36:30 +0000 (13:36 -0600)
Normalize quotes used with html attributes in tooltip example code

docs/pages/tooltip.md

index cf3c88a33faaa8532c06ab67709f5d8ba2860f5f..320559ef1a48a1b24c89546af5339b6e8c81ad40 100644 (file)
@@ -11,7 +11,7 @@ By default, a tooltip appears below the defined term on hover.
 
 ```html_example
 <p>
-The <span data-tooltip aria-haspopup="true" class="has-tip" data-disable-hover='false' tabindex=1 title="Fancy word for a beetle.">scarabaeus</span> hung quite clear of any branches, and, if allowed to fall, would have fallen at our feet. Legrand immediately took the scythe, and cleared with it a circular space, three or four yards in diameter, just beneath the insect, and, having accomplished this, ordered Jupiter to let go the string and come down from the tree.
+The <span data-tooltip aria-haspopup="true" class="has-tip" data-disable-hover="false" tabindex="1" title="Fancy word for a beetle.">scarabaeus</span> hung quite clear of any branches, and, if allowed to fall, would have fallen at our feet. Legrand immediately took the scythe, and cleared with it a circular space, three or four yards in diameter, just beneath the insect, and, having accomplished this, ordered Jupiter to let go the string and come down from the tree.
 </p>
 ```
 
@@ -23,7 +23,7 @@ To get a tip-top top tooltip (lol), just add the class `.top` the `<span>` eleme
 ```html_example
 <p>
 ...clearing away the brambles with the
-<span data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" tabindex=2 title="A tool used for cutting crops.">scythe.</span>
+<span data-tooltip aria-haspopup="true" class="has-tip top" data-disable-hover="false" tabindex="2" title="A tool used for cutting crops.">scythe.</span>
 At the spot thus attained a second peg was driven, and about this, as a centre, a rude circle, about four feet in diameter, described. Taking now a spade himself, and giving one to Jupiter and one to me, Legrand begged us to set about one to digging as quickly as possible.
 </p>
 ```