aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-07-18 12:29:12 +0300
committerXhmikosR <[email protected]>2019-07-22 16:08:58 +0300
commit262a24b627f9dfa61e2764f149ee545d52aa02d0 (patch)
tree5a81b6330be62e74a32b26be24c92fba8ea124de
parent8b59b73a2b90dc6feb57bca9e124c7bf49aa5249 (diff)
downloadbootstrap-262a24b627f9dfa61e2764f149ee545d52aa02d0.tar.xz
bootstrap-262a24b627f9dfa61e2764f149ee545d52aa02d0.zip
Manually escape script.
-rw-r--r--site/content/docs/4.3/examples/masonry/index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/site/content/docs/4.3/examples/masonry/index.html b/site/content/docs/4.3/examples/masonry/index.html
index fbfa4c8f7..d2d12f739 100644
--- a/site/content/docs/4.3/examples/masonry/index.html
+++ b/site/content/docs/4.3/examples/masonry/index.html
@@ -13,7 +13,9 @@ extra_js:
<p>Masonry is not included in Bootstrap. Add it by including the JavaScript plugin manually, or using a CDN like so:</p>
- {{< highlight html >}}<script src="https://cdnjs.cloudflare.com/ajax/libs/masonry/4.2.2/masonry.pkgd.min.js" integrity="sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI=" crossorigin="anonymous" async></script>{{< /highlight >}}
+ <pre><code>
+&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/masonry/4.2.2/masonry.pkgd.min.js&quot; integrity=&quot;sha256-Nn1q/fx0H7SNLZMQ5Hw5JLaTRZp0yILA/FRexe19VdI=&quot; crossorigin=&quot;anonymous&quot; async&gt;&lt;/script&gt;
+ </code></pre>
<p>By adding <code>data-masonry='{"percentPosition": true }'</code> to the <code>.row</code> wrapper, we can combine the powers of Bootstrap's responsive grid and Masonry's positioning.</p>