Update Core.js
This commit is contained in:
parent
3f0fe24875
commit
c3ad5cab5f
1 changed files with 2 additions and 2 deletions
4
Core.js
4
Core.js
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* SimonUp Core Compiler (Core.js) - Version 1.2b.004
|
* SimonUp Core Compiler (Core.js) - Version 1.2b.005
|
||||||
* Eine moderne, fluss- und blockorientierte Auszeichnungssprache.
|
* Eine moderne, fluss- und blockorientierte Auszeichnungssprache.
|
||||||
*/
|
*/
|
||||||
class SimonUp {
|
class SimonUp {
|
||||||
|
|
@ -288,7 +288,7 @@ class SimonUp {
|
||||||
replaceOutsideTags(new RegExp(rule.symbol + '(.+?)(?:\\/' + rule.symbol + '|\\/|' + rule.symbol + '|$)'), `<${rule.tag}>$1</${tagSimple}>`);
|
replaceOutsideTags(new RegExp(rule.symbol + '(.+?)(?:\\/' + rule.symbol + '|\\/|' + rule.symbol + '|$)'), `<${rule.tag}>$1</${tagSimple}>`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fußnoten abfangen und registrieren statt nur als Title zu setzen
|
// Fußnoten abfangen und registrieren
|
||||||
let self = this;
|
let self = this;
|
||||||
html = html.replace(/\^x\[([^\]]+)\]\^x/g, function(m, content) {
|
html = html.replace(/\^x\[([^\]]+)\]\^x/g, function(m, content) {
|
||||||
self.currentFootnotes.push(content);
|
self.currentFootnotes.push(content);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue