mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-07 19:13:00 +00:00
fixes of a newbie, me
This commit is contained in:
@@ -31,7 +31,7 @@ CodeBlockWidget.prototype.render = function(parent,nextSibling) {
|
||||
this.computeAttributes();
|
||||
this.execute();
|
||||
var codeNode = this.document.createElement("code");
|
||||
if (this.getAttribute("language")) {
|
||||
if(this.getAttribute("language")) {
|
||||
codeNode.setAttribute("class",this.getAttribute("language"));
|
||||
}
|
||||
var domNode = this.document.createElement("pre");
|
||||
|
||||
Reference in New Issue
Block a user