Skip to content

Commit 63f56ab

Browse files
committed
Encode em dash character
1 parent ba03684 commit 63f56ab

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

assets/javascripts/templates/error_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ app.templates.unsupportedBrowser = """
3939
If you're unable to upgrade, I apologize.
4040
I decided to prioritize speed and new features over support for older browsers.
4141
<p class="_fail-text">
42-
Thibaut <a href="proxy.php?url=https%3A%2F%2Ftwitter.com%2FDevDocs" class="_fail-link">@DevDocs</a>
42+
&mdash; Thibaut <a href="proxy.php?url=https%3A%2F%2Ftwitter.com%2FDevDocs" class="_fail-link">@DevDocs</a>
4343
</div>
4444
"""

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ app.templates.aboutPage = -> """
1313
<p>DevDocs combines multiple API documentations in a fast, organized, and searchable interface.
1414
<ul>
1515
<li>Created and maintained by <a href="http://thibaut.me">Thibaut Courouble</a>
16-
<li>Proudly sponsored by <a href="proxy.php?url=http%3A%2F%2Fwww.maxcdn.com">MaxCDN</a>content delivery that developers love
16+
<li>Proudly sponsored by <a href="proxy.php?url=http%3A%2F%2Fwww.maxcdn.com">MaxCDN</a>&mdash;content delivery that developers love
1717
<li>Free and <a href="https://github.com/Thibaut/devdocs">open source</a>
1818
<iframe class="_github-btn" src="http://ghbtns.com/github-btn.html?user=Thibaut&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
1919
</ul>

assets/javascripts/templates/pages/news_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ app.news = [
120120
], [
121121
1372377600000, # June 28, 2013
122122
""" DevDocs made the front page of Hacker News!
123-
Hi everyone thanks for trying DevDocs.
123+
Hi everyone &mdash; thanks for trying DevDocs.
124124
Please bear with me while I fix bugs and scramble to add more docs.
125125
This is only v1. There's a lot more to come. """
126126
], [

assets/javascripts/templates/pages/root_tmpl.coffee.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ app.templates.intro = """
3535
Here's what you should know before you start:
3636
<ol class="_intro-list">
3737
<li>To pick your docs, click <a class="_intro-link" data-pick-docs>Select documentation</a> in the bottom left corner
38-
<li>You don't have to use your mouse see the list of <a href="/help#shortcuts">keyboard shortcuts</a>
38+
<li>You don't have to use your mouse &mdash; see the list of <a href="/help#shortcuts">keyboard shortcuts</a>
3939
<li>The search supports fuzzy matching (e.g. "bgcp" brings up "background-clip")
4040
<li>To search a specific documentation, type its name (or an abbreviation), then Tab
41-
<li>You can search using your browser's address bar <a href="/help#browser_search">learn how</a>
41+
<li>You can search using your browser's address bar &mdash; <a href="/help#browser_search">learn how</a>
4242
<li>DevDocs works on mobile and is available as a <a href="https://chrome.google.com/webstore/detail/devdocs/mnfehgbmkapmjnhcnbodoamcioleeooe">Chrome web app</a>
4343
<li>For the latest news, subscribe to the <a href="http://eepurl.com/HnLUz">newsletter</a> or follow <a href="https://twitter.com/DevDocs">@DevDocs</a>
4444
<li>DevDocs is free and <a href="https://github.com/Thibaut/devdocs">open source</a>

public/500.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<h1>Oops!</h1>
6363
<p>
6464
<strong>Something is technically wrong.</strong><br>
65-
Thanks for noticingwe're going to fix it up and have things back to normal soon.<br>
65+
Thanks for noticing&mdash;we're going to fix it up and have things back to normal soon.<br>
6666
Go back to <a href="http://devdocs.io">devdocs.io</a>.
6767
</p>
6868
</div>

views/index.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta name="apple-mobile-web-app-capable" content="yes">
1313
<meta name="apple-mobile-web-app-status-bar-style" content="black">
1414
<meta name="format-detection" content="telephone=no">
15-
<title>DevDocs API Documentation Browser</title>
15+
<title>DevDocs &mdash; API Documentation Browser</title>
1616
<link rel="canonical" href="http://devdocs.io">
1717
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search">
1818
<link rel="icon" type="image/x-icon" href="http://maxcdn.devdocs.io/favicon.ico">

views/unsupported.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5-
<title>DevDocs API Documentation Browser</title>
5+
<title>DevDocs &mdash; API Documentation Browser</title>
66
<%= stylesheet_tag 'application' %>
77
</head>
88
<body>
@@ -24,7 +24,7 @@
2424
I decided to prioritize speed and new features over support for older browsers.
2525
</p>
2626
<p class="_fail-text">
27-
Thibaut <a href="https://twitter.com/DevDocs" class="_fail-link">@DevDocs</a>
27+
&mdash; Thibaut <a href="https://twitter.com/DevDocs" class="_fail-link">@DevDocs</a>
2828
</p>
2929
</div>
3030
</body>

0 commit comments

Comments
 (0)