summaryrefslogtreecommitdiff
path: root/js/lib/inlines.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/inlines.js')
-rw-r--r--js/lib/inlines.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/inlines.js b/js/lib/inlines.js
index fe4e947..846ed20 100644
--- a/js/lib/inlines.js
+++ b/js/lib/inlines.js
@@ -132,9 +132,9 @@ var parseBackticks = function(inlines) {
}
var afterOpenTicks = this.pos;
var foundCode = false;
- var match;
- while (!foundCode && (match = this.match(/`+/m))) {
- if (match === ticks) {
+ var matched;
+ while (!foundCode && (matched = this.match(/`+/m))) {
+ if (matched === ticks) {
inlines.push({ t: 'Code', c: this.subject.slice(afterOpenTicks,
this.pos - ticks.length)
.replace(/[ \n]+/g,' ')