From 20349df3e7e7ea3199b4b0938f791b54f68e4106 Mon Sep 17 00:00:00 2001
From: Mark Otto <otto@github.com>
Date: Sun, 13 Jul 2014 01:43:26 -0700
Subject: [PATCH] markdownify browser bugs, add config vars for shorthand urls

---
 _config.yml                |   6 ++
 docs/_layouts/default.html |   3 +
 docs/browser-bugs.html     | 120 -------------------------------------
 docs/browser-bugs.md       | 113 ++++++++++++++++++++++++++++++++++
 4 files changed, 122 insertions(+), 120 deletions(-)
 delete mode 100644 docs/browser-bugs.html
 create mode 100644 docs/browser-bugs.md

diff --git a/_config.yml b/_config.yml
index f301a3694b..0eedd53810 100644
--- a/_config.yml
+++ b/_config.yml
@@ -35,3 +35,9 @@ cdn:
   css_theme:      //maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css
   js:             //maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js
   jquery:         //code.jquery.com/jquery-2.1.1.min.js
+
+bug:
+  firefox:        https://bugzilla.mozilla.org/show_bug.cgi?id=
+  webkit:         https://bugs.webkit.org/show_bug.cgi?id=
+  chrome:         https://code.google.com/p/chromium/issues/detail?id=
+  github:         https://github.com/twbs/bootstrap/issues/
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index 1ba456b725..b229943daf 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -31,6 +31,9 @@
         {% elsif page.url contains "examples" %}
           <h1>About</h1>
           <p class="lead">Learn about the project's history, meet the maintaining teams, and find out how to use the Bootstrap brand.</p>
+        {% elsif page.url contains "browser-bugs" %}
+          <h1>Browser bugs</h1>
+          <p class="lead">A list of the browser bugs that Bootstrap is currently grappling with.</p>
         {% endif %}
 
         {% include ads.html %}
diff --git a/docs/browser-bugs.html b/docs/browser-bugs.html
deleted file mode 100644
index 0a52c4b160..0000000000
--- a/docs/browser-bugs.html
+++ /dev/null
@@ -1,120 +0,0 @@
----
-layout: default
-title: Wall of browser bugs
-slug: browser-bugs
-lead: "A list of the browser bugs that Bootstrap is currently grappling with."
----
-
-
-<div class="bs-docs-section">
-  <h1 id="browser-bugs" class="page-header">Browser bugs</h1>
-
-  <p class="lead">Bootstrap currently works around several outstanding browser bugs in major browsers to deliver the best cross-browser experience possible. Some bugs, like those listed below, cannot be solved by us.</p>
-  <p>We publicly list browser bugs that are impacting us here, in the hopes of expediting the process of fixing them. For information on Bootstrap's browser compatibility, <a href="../getting-started/#support">see our browser compatibility docs</a>.</p>
-
-  <div class="table-responsive">
-    <table class="table table-bordered table-hover">
-      <thead>
-        <tr>
-          <th>Browser(s)</th>
-          <th>Summary of bug</th>
-          <th>Upstream bug(s)</th>
-          <th>Bootstrap issue(s)</th>
-        </tr>
-      </thead>
-      <tbody>
-        <tr>
-          <td>Firefox</td>
-          <td><code>.table-bordered</code> with an empty <code>&lt;tbody&gt;</code> is missing borders</td>
-          <td><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1023761">Mozilla bug #1023761</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/13453">#13453</a></td>
-        </tr>
-        <tr>
-          <td>Firefox</td>
-          <td>Unusual default form control styles on Android</td>
-          <td><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=900871">Closed Mozilla bug #900871</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=763671">Open Mozilla bug #763671</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/8702">#8702</a></td>
-        </tr>
-        <tr>
-          <td>Firefox</td>
-          <td><code>max-width: 100%;</code> doesn't work inside tables</td>
-          <td><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=975632">Mozilla bug #975632</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/10690">#10690</a></td>
-        </tr>
-        <tr>
-          <td>Firefox <strong>&lt;31</strong></td>
-          <td><code>position: relative;</code> doesn't work inside tables</td>
-          <td><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=63895">Mozilla bug #63895</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/12467">#12467</a></td>
-        </tr>
-        <tr>
-          <td>Chrome</td>
-          <td>Weird button behavior with some number <code>&lt;input&gt;</code>s</td>
-          <td><a href="https://code.google.com/p/chromium/issues/detail?id=337668">Chromium issue #337668</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/8350">#8350</a>, <a href="https://github.com/necolas/normalize.css/issues/283">Normalize #283</a></td>
-        </tr>
-        <tr>
-          <td>Chrome</td>
-          <td>Navbar rendering problem on Windows after several clicks</td>
-          <td><a href="https://code.google.com/p/chromium/issues/detail?id=272750">Chromium issue #272750</a>, <a href="https://bugs.webkit.org/show_bug.cgi?id=119793">WebKit bug #119793</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/9226">#9226</a></td>
-        </tr>
-        <tr>
-          <td>Chrome</td>
-          <td><code>display: table;</code> within <code>display: block;</code> forces sibling content to new line</td>
-          <td><a href="https://code.google.com/p/chromium/issues/detail?id=309483">Chromium issue #309483</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/9950">#9950</a></td>
-        </tr>
-        <tr>
-          <td>Chrome</td>
-          <td>Unwanted vertical lines when printing styled <code>&lt;select&gt;</code> on OS X</td>
-          <td><a href="https://code.google.com/p/chromium/issues/detail?id=282918">Chromium issue #282918</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/11245">#11245</a></td>
-        </tr>
-        <tr>
-          <td>Chrome</td>
-          <td>inline-block element collapses white-space on Windows</td>
-          <td><a href="https://code.google.com/p/chromium/issues/detail?id=329574">Chromium issue #329574</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/11885">#11885</a></td>
-        </tr>
-        <tr>
-          <td>Chrome</td>
-          <td>Incorrect viewport size used for media queries when printing</td>
-          <td><a href="https://code.google.com/p/chromium/issues/detail?id=273306">Chromium issue #273306</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/12078">#12078</a></td>
-        </tr>
-        <tr>
-          <td>Chrome &amp; Safari</td>
-          <td>OS X scrollbar clipped in <code>select[multiple]</code> with padding</td>
-          <td><a href="https://code.google.com/p/chromium/issues/detail?id=342208">Chromium issue #342208</a>, <a href="https://bugs.webkit.org/show_bug.cgi?id=128489">WebKit bug #128489</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/12536">#12536</a></td>
-        </tr>
-        <tr>
-          <td>Chrome</td>
-          <td><code>display: table-cell; width: 100%;</code> doesn't work correctly on date <code>&lt;input&gt;</code></td>
-          <td><a href="https://code.google.com/p/chromium/issues/detail?id=346051">Chromium issue #346051</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/12548">#12548</a></td>
-        </tr>
-        <tr>
-          <td>Chrome</td>
-          <td><code>&lt;input type="password"&gt;</code> sporadically causes bad widths on floated elements</td>
-          <td><a href="https://code.google.com/p/chromium/issues/detail?id=377346">Chrome issue #377346</a></td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/13892">#13892</a></td>
-        </tr>
-        <tr>
-          <td>Safari</td>
-          <td>Insufficient CSS percentage precision</td>
-          <td>(No public bug tracker)</td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/9282">#9282</a></td>
-        </tr>
-        <tr>
-          <td>Safari</td>
-          <td>Justified nav rendering bug</td>
-          <td>(No public bug tracker)</td>
-          <td><a href="https://github.com/twbs/bootstrap/issues/9774">#9774</a></td>
-        </tr>
-      </tbody>
-    </table>
-  </div>
-
-</div>
diff --git a/docs/browser-bugs.md b/docs/browser-bugs.md
new file mode 100644
index 0000000000..e0abab107e
--- /dev/null
+++ b/docs/browser-bugs.md
@@ -0,0 +1,113 @@
+---
+layout: default
+title: Wall of browser bugs
+---
+
+Bootstrap currently works around several outstanding browser bugs in major browsers to deliver the best cross-browser experience possible. Some bugs, like those listed below, cannot be solved by us.
+
+We publicly list browser bugs that are impacting us here, in the hopes of expediting the process of fixing them. For information on Bootstrap's browser compatibility, [see our browser compatibility docs](../getting-started/#support).
+
+<div class="table-responsive">
+  <table class="table table-bordered table-hover">
+    <thead>
+      <tr>
+        <th>Browser(s)</th>
+        <th>Summary of bug</th>
+        <th>Upstream bug(s)</th>
+        <th>Bootstrap issue(s)</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td>Firefox</td>
+        <td><code>.table-bordered</code> with an empty <code>&lt;tbody&gt;</code> is missing borders</td>
+        <td><a href="{{ site.bug.firefox }}1023761">Mozilla bug #1023761</a></td>
+        <td><a href="{{ site.bug.github }}13453">#13453</a></td>
+      </tr>
+      <tr>
+        <td>Firefox</td>
+        <td>Unusual default form control styles on Android</td>
+        <td><a href="{{ site.bug.firefox }}900871">Closed Mozilla bug #900871</a>, <a href="{{ site.bug.firefox }}763671">Open Mozilla bug #763671</a></td>
+        <td><a href="{{ site.bug.github }}8702">#8702</a></td>
+      </tr>
+      <tr>
+        <td>Firefox</td>
+        <td><code>max-width: 100%;</code> doesn't work inside tables</td>
+        <td><a href="{{ site.bug.firefox }}975632">Mozilla bug #975632</a></td>
+        <td><a href="{{ site.bug.github }}10690">#10690</a></td>
+      </tr>
+      <tr>
+        <td>Firefox <strong>&lt;31</strong></td>
+        <td><code>position: relative;</code> doesn't work inside tables</td>
+        <td><a href="{{ site.bug.firefox }}63895">Mozilla bug #63895</a></td>
+        <td><a href="{{ site.bug.github }}12467">#12467</a></td>
+      </tr>
+      <tr>
+        <td>Chrome</td>
+        <td>Weird button behavior with some number <code>&lt;input&gt;</code>s</td>
+        <td><a href="{{ site.bug.chrome }}337668">Chromium issue #337668</a></td>
+        <td><a href="{{ site.bug.github }}8350">#8350</a>, <a href="https://github.com/necolas/normalize.css/issues/283">Normalize #283</a></td>
+      </tr>
+      <tr>
+        <td>Chrome</td>
+        <td>Navbar rendering problem on Windows after several clicks</td>
+        <td><a href="{{ site.bug.chrome }}272750">Chromium issue #272750</a>, <a href="{{ site.bug.webkit }}119793">WebKit bug #119793</a></td>
+        <td><a href="{{ site.bug.github }}9226">#9226</a></td>
+      </tr>
+      <tr>
+        <td>Chrome</td>
+        <td><code>display: table;</code> within <code>display: block;</code> forces sibling content to new line</td>
+        <td><a href="{{ site.bug.chrome }}309483">Chromium issue #309483</a></td>
+        <td><a href="{{ site.bug.github }}9950">#9950</a></td>
+      </tr>
+      <tr>
+        <td>Chrome</td>
+        <td>Unwanted vertical lines when printing styled <code>&lt;select&gt;</code> on OS X</td>
+        <td><a href="{{ site.bug.chrome }}282918">Chromium issue #282918</a></td>
+        <td><a href="{{ site.bug.github }}11245">#11245</a></td>
+      </tr>
+      <tr>
+        <td>Chrome</td>
+        <td>inline-block element collapses white-space on Windows</td>
+        <td><a href="{{ site.bug.chrome }}329574">Chromium issue #329574</a></td>
+        <td><a href="{{ site.bug.github }}11885">#11885</a></td>
+      </tr>
+      <tr>
+        <td>Chrome</td>
+        <td>Incorrect viewport size used for media queries when printing</td>
+        <td><a href="{{ site.bug.chrome }}273306">Chromium issue #273306</a></td>
+        <td><a href="{{ site.bug.github }}12078">#12078</a></td>
+      </tr>
+      <tr>
+        <td>Chrome &amp; Safari</td>
+        <td>OS X scrollbar clipped in <code>select[multiple]</code> with padding</td>
+        <td><a href="{{ site.bug.chrome }}342208">Chromium issue #342208</a>, <a href="{{ site.bug.webkit }}128489">WebKit bug #128489</a></td>
+        <td><a href="{{ site.bug.github }}12536">#12536</a></td>
+      </tr>
+      <tr>
+        <td>Chrome</td>
+        <td><code>display: table-cell; width: 100%;</code> doesn't work correctly on date <code>&lt;input&gt;</code></td>
+        <td><a href="{{ site.bug.chrome }}346051">Chromium issue #346051</a></td>
+        <td><a href="{{ site.bug.github }}12548">#12548</a></td>
+      </tr>
+      <tr>
+        <td>Chrome</td>
+        <td><code>&lt;input type="password"&gt;</code> sporadically causes bad widths on floated elements</td>
+        <td><a href="{{ site.bug.chrome }}377346">Chrome issue #377346</a></td>
+        <td><a href="{{ site.bug.github }}13892">#13892</a></td>
+      </tr>
+      <tr>
+        <td>Safari</td>
+        <td>Insufficient CSS percentage precision</td>
+        <td>(No public bug tracker)</td>
+        <td><a href="{{ site.bug.github }}9282">#9282</a></td>
+      </tr>
+      <tr>
+        <td>Safari</td>
+        <td>Justified nav rendering bug</td>
+        <td>(No public bug tracker)</td>
+        <td><a href="{{ site.bug.github }}9774">#9774</a></td>
+      </tr>
+    </tbody>
+  </table>
+</div>
-- 
GitLab