@gridland/web 0.2.5 → 0.2.6
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.
- package/dist/index.js +3 -3
- package/dist/index.js.map +2 -2
- package/dist/next.js +3 -3
- package/dist/next.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40844,11 +40844,11 @@ var TextModifierRenderable = class extends SpanRenderable {
|
|
|
40844
40844
|
constructor(options, modifier) {
|
|
40845
40845
|
super(null, options);
|
|
40846
40846
|
if (modifier === "b" || modifier === "strong") {
|
|
40847
|
-
this.attributes = (this.attributes || 0) |
|
|
40847
|
+
this.attributes = (this.attributes || 0) | TextAttributes.BOLD;
|
|
40848
40848
|
} else if (modifier === "i" || modifier === "em") {
|
|
40849
|
-
this.attributes = (this.attributes || 0) |
|
|
40849
|
+
this.attributes = (this.attributes || 0) | TextAttributes.ITALIC;
|
|
40850
40850
|
} else if (modifier === "u") {
|
|
40851
|
-
this.attributes = (this.attributes || 0) |
|
|
40851
|
+
this.attributes = (this.attributes || 0) | TextAttributes.UNDERLINE;
|
|
40852
40852
|
}
|
|
40853
40853
|
}
|
|
40854
40854
|
};
|