Skip to content

Commit ba03684

Browse files
committed
Encode ellipsis character
Closes freeCodeCamp#29
1 parent 3cd5373 commit ba03684

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

assets/javascripts/templates/pages/help_tmpl.coffee

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

assets/javascripts/templates/sidebar_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ templates.sidebarResult = (entry) ->
1818
"""<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>"""
1919

2020
templates.sidebarPageLink = (count) ->
21-
"""<span class="_list-item _list-pagelink">Show more (#{count})</span>"""
21+
"""<span class="_list-item _list-pagelink">Show more\u2026 (#{count})</span>"""
2222

2323
templates.sidebarLabel = (doc, options = {}) ->
2424
label = """<label class="_list-item _list-label _icon-#{doc.slug}"""

assets/javascripts/views/sidebar/doc_picker.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class app.views.DocPicker extends app.View
4444
unless @saving
4545
@saving = true
4646
app.settings.setDocs @getSelectedDocs()
47-
@saveLink.textContent = if app.appCache then 'Downloading' else 'Saving'
47+
@saveLink.textContent = if app.appCache then 'Downloading\u2026' else 'Saving\u2026'
4848
app.reload()
4949
return
5050

@@ -65,5 +65,5 @@ class app.views.DocPicker extends app.View
6565
onAppCacheProgress: (event) =>
6666
if event.lengthComputable
6767
percentage = Math.round event.loaded * 100 / event.total
68-
@saveLink.textContent = "Downloading (#{percentage}%)"
68+
@saveLink.textContent = "Downloading\u2026 (#{percentage}%)"
6969
return

views/app.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<a class="_home-link"></a>
44
<a class="_menu-link"></a>
55
<form class="_search">
6-
<input type="search" class="_search-input" placeholder="Search" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" maxlength="20">
6+
<input type="search" class="_search-input" placeholder="Search&hellip;" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" maxlength="20">
77
<a class="_search-clear"></a>
88
<div class="_search-tag"></div>
99
</form>

0 commit comments

Comments
 (0)