diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js
index 0883ee3d6..2a1497731 100644
--- a/static/js/apiDialog.js
+++ b/static/js/apiDialog.js
@@ -142,7 +142,8 @@ pandora.ui.apiDialog = function() {
$doc.html(
$doc.html()
.replace(/(takes \{|returns \{|note: |see: )/g, '$1')
- .replace(/`(\w+?)`/g, '$1')
+ .replace(/`(?=\w)/g, '')
+ .replace(/`(?=\W)/g, '')
);
parts = $doc.html().split('notes: ');
if (parts.length == 2) {