Encode ellipsis character

Closes #29
pull/33/head
Thibaut 11 years ago
parent 3cd537300d
commit ba03684e05

@ -32,7 +32,7 @@ app.templates.helpPage = """
DevDocs supports OpenSearch, meaning it can easily be installed as a search engine on most web browsers.
<ul>
<li>On Chrome, the setup is done automatically. Simply press <code class="_label">Tab</code> when devdocs.io is autocompleted
in the omnibox (to set a custom keyword, click <em>Manage search engines</em> in Chrome's settings).
in the omnibox (to set a custom keyword, click <em>Manage search engines\u2026</em> in Chrome's settings).
<li>On Firefox, open the search engine list (icon in the search bar) and select <em>Add "DevDocs Search"</em>.
DevDocs is now available in the search bar. You can also search from the location bar by following
<a href="https://support.mozilla.org/en-US/kb/search-bar-easily-choose-your-search-engine#w_keywords">these instructions</a>.

@ -18,7 +18,7 @@ templates.sidebarResult = (entry) ->
"""<a href="#{entry.fullPath()}" class="_list-item _list-hover _list-result _icon-#{entry.doc.slug}"><span class="_list-reveal" data-reset-list title="Reveal in list"></span>#{$.escape entry.name}</a>"""
templates.sidebarPageLink = (count) ->
"""<span class="_list-item _list-pagelink">Show more (#{count})</span>"""
"""<span class="_list-item _list-pagelink">Show more\u2026 (#{count})</span>"""
templates.sidebarLabel = (doc, options = {}) ->
label = """<label class="_list-item _list-label _icon-#{doc.slug}"""

@ -44,7 +44,7 @@ class app.views.DocPicker extends app.View
unless @saving
@saving = true
app.settings.setDocs @getSelectedDocs()
@saveLink.textContent = if app.appCache then 'Downloading' else 'Saving…'
@saveLink.textContent = if app.appCache then 'Downloading\u2026' else 'Saving\u2026'
app.reload()
return
@ -65,5 +65,5 @@ class app.views.DocPicker extends app.View
onAppCacheProgress: (event) =>
if event.lengthComputable
percentage = Math.round event.loaded * 100 / event.total
@saveLink.textContent = "Downloading (#{percentage}%)"
@saveLink.textContent = "Downloading\u2026 (#{percentage}%)"
return

@ -3,7 +3,7 @@
<a class="_home-link"></a>
<a class="_menu-link"></a>
<form class="_search">
<input type="search" class="_search-input" placeholder="Search" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" maxlength="20">
<input type="search" class="_search-input" placeholder="Search&hellip;" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" maxlength="20">
<a class="_search-clear"></a>
<div class="_search-tag"></div>
</form>

Loading…
Cancel
Save