prototype.exe 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/prototype.js +2 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prototype.exe",
3
3
  "description": "JScript",
4
- "version": "0.0.11",
4
+ "version": "0.0.12",
5
5
  "main": "src/prototype.js",
6
6
  "files": [
7
7
  "src/",
package/src/prototype.js CHANGED
@@ -941,8 +941,8 @@ Define (Function, "html", class {
941
941
  this.markup.push (4, `<h${h}>${this.heading [i]}</h${h}>`);
942
942
  }
943
943
  this.markup.push (4, `<date>{{ content:date }}</date>`);
944
- this.markup.push (4, `<p>${this.var ["content:title"] || this.var ["content:paragraph"] || ""}</p>`);
945
- this.markup.push (4, `<article>${this.var ["content:article"] || this.var.content || this.var ["content:description"] || this.var.description || ""}</article>`);
944
+ this.markup.push (4, `<p>${this.var ["content:paragraph"] || ""}</p>`);
945
+ this.markup.push (4, `<article>${this.var ["content:article"] || this.var ["content:description"] || this.var.content || ""}</article>`);
946
946
  if (this.var.anchor) for (var i in this.var.anchor) this.markup.push (4, `<a href="${this.var.anchor [i].url}" title="${this.var.anchor [i].info}">${this.var.anchor [i].name}</a>`);
947
947
  this.markup.push (3, `</div>`);
948
948
  this.markup.push (2, `</div>`);