diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2017-01-08 01:37:27 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2017-01-09 15:51:50 -0800 |
commit | 9d55c0f479aad655566f3a9e7841d155463d51a1 (patch) | |
tree | 2183a423d367a6e1b8294bc98bf5e105daeff3b6 /platform/darwin | |
parent | 07496597276b977057839a1cfb3cf15e751c5dab (diff) | |
download | qtlocation-mapboxgl-9d55c0f479aad655566f3a9e7841d155463d51a1.tar.gz |
[ios, macos] Replace <q> tags with quotation marks in code blocks
Diffstat (limited to 'platform/darwin')
-rwxr-xr-x | platform/darwin/docs/theme/assets/js/jazzy.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/darwin/docs/theme/assets/js/jazzy.js b/platform/darwin/docs/theme/assets/js/jazzy.js index 2e42193e38..e07f181acc 100755 --- a/platform/darwin/docs/theme/assets/js/jazzy.js +++ b/platform/darwin/docs/theme/assets/js/jazzy.js @@ -40,3 +40,8 @@ $(".token").click(function(event) { } event.preventDefault(); }); + +// Dumb down quotes within code blocks that delimit strings instead of quotations. +$("code q").replaceWith(function () { + return ["\"", $(this).contents(), "\""]; +}); |