@knowvah/dot-engine 2.6.7 → 2.6.9
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/common/htmltable-attr-warn.d.ts +10 -4
- package/dist/common/htmltable-attr-warn.d.ts.map +1 -1
- package/dist/common/htmltable-label.d.ts +37 -0
- package/dist/common/htmltable-label.d.ts.map +1 -0
- package/dist/common/htmltable-lex-attvalue.d.ts +59 -0
- package/dist/common/htmltable-lex-attvalue.d.ts.map +1 -0
- package/dist/common/htmltable-lex-expat.d.ts +15 -4
- package/dist/common/htmltable-lex-expat.d.ts.map +1 -1
- package/dist/common/htmltable-lex.d.ts.map +1 -1
- package/dist/common/htmltable-parse-attrs.d.ts +3 -1
- package/dist/common/htmltable-parse-attrs.d.ts.map +1 -1
- package/dist/common/htmltable-parse.d.ts +6 -5
- package/dist/common/htmltable-parse.d.ts.map +1 -1
- package/dist/common/htmltable-pos.d.ts +3 -26
- package/dist/common/htmltable-pos.d.ts.map +1 -1
- package/dist/common/htmltable-types.d.ts +3 -1
- package/dist/common/htmltable-types.d.ts.map +1 -1
- package/dist/common/htmltable.d.ts +3 -2
- package/dist/common/htmltable.d.ts.map +1 -1
- package/dist/common/make-label.d.ts.map +1 -1
- package/dist/common/subst.d.ts +8 -0
- package/dist/common/subst.d.ts.map +1 -1
- package/dist/gvc/anchor.d.ts.map +1 -1
- package/dist/index.js +308 -105
- package/dist/index.js.map +4 -4
- package/dist/render/xml-escape.d.ts +8 -6
- package/dist/render/xml-escape.d.ts.map +1 -1
- package/dist/render.js +308 -105
- package/dist/render.js.map +4 -4
- package/package.json +1 -1
- package/src/common/htmltable-attr-warn.ts +24 -7
- package/src/common/htmltable-label.ts +109 -0
- package/src/common/htmltable-lex-attvalue.ts +141 -0
- package/src/common/htmltable-lex-expat.ts +59 -27
- package/src/common/htmltable-lex.ts +9 -10
- package/src/common/htmltable-parse-attrs.ts +10 -13
- package/src/common/htmltable-parse.ts +16 -29
- package/src/common/htmltable-pos.ts +5 -88
- package/src/common/htmltable-types.ts +4 -1
- package/src/common/htmltable.ts +16 -16
- package/src/common/make-label.ts +8 -3
- package/src/common/poly-gencode.ts +2 -2
- package/src/common/subst.ts +12 -0
- package/src/gvc/anchor.ts +6 -5
- package/src/render/xml-escape.ts +23 -33
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Base XML escape (gv_xml_escape with flags {0}): ids,
|
|
3
|
-
* @see lib/util/xml.c
|
|
2
|
+
* Base XML escape (gv_xml_escape with flags {0}): ids, hrefs.
|
|
3
|
+
* @see lib/util/xml.c:gv_xml_escape
|
|
4
4
|
*/
|
|
5
5
|
export declare function escapeXml(s: string): string;
|
|
6
6
|
/**
|
|
@@ -12,10 +12,12 @@ export declare function escapeXml(s: string): string;
|
|
|
12
12
|
*/
|
|
13
13
|
export declare function escapeXmlTitle(s: string): string;
|
|
14
14
|
/**
|
|
15
|
-
* Text/tooltip XML escape (gv_xml_escape with flags {raw, dash, nbsp}):
|
|
16
|
-
*
|
|
17
|
-
* spaces→ . Used for
|
|
18
|
-
*
|
|
15
|
+
* Text/tooltip XML escape (gv_xml_escape with flags {raw, dash, nbsp}): raw
|
|
16
|
+
* escapes every '&' -- entity-looking or not -- and newline/CR to
|
|
17
|
+
* / ; also '-'→- and 2nd+ consecutive spaces→ . Used for
|
|
18
|
+
* textspans and xlink:title.
|
|
19
|
+
* @see plugin/core/gvrender_core_svg.c:svg_textspan, svg_begin_anchor
|
|
20
|
+
* @see lib/util/xml.c:xml_core (`flags.raw || !xml_isentity(s)`)
|
|
19
21
|
*/
|
|
20
22
|
export declare function escapeXmlText(s: string): string;
|
|
21
23
|
//# sourceMappingURL=xml-escape.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xml-escape.d.ts","sourceRoot":"","sources":["../../src/render/xml-escape.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"xml-escape.d.ts","sourceRoot":"","sources":["../../src/render/xml-escape.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE3C;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE/C"}
|