|
@@ -199,19 +199,19 @@ cmSvgRC_t cmSvgWriterWrite( cmSvgH_t h, const cmChar_t* cssFn, const cmChar_t*
|
199
|
199
|
cmChar_t* s1 = NULL;
|
200
|
200
|
|
201
|
201
|
cmChar_t hdr[] =
|
202
|
|
- "<!DOCTYPE html>"
|
203
|
|
- "<html>"
|
204
|
|
- "<head>"
|
205
|
|
- "<meta charset=\"utf-8\">"
|
206
|
|
- "<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\">"
|
207
|
|
- "<script type=\"text/javascript\" src=\"svg-pan-zoom.min.js\"></script>"
|
208
|
|
- "<script>"
|
209
|
|
- " var panZoom = null;"
|
210
|
|
- " function doOnLoad() { panZoom = svgPanZoom(document.querySelector('#mysvg'), { controlIconsEnabled:true } ) }"
|
211
|
|
- "</script>"
|
212
|
|
- "</head>"
|
213
|
|
- "<body onload=\"doOnLoad()\">"
|
214
|
|
- "<svg id=\"mysvg\" width=\"%f\" height=\"%f\">";
|
|
202
|
+ "<!DOCTYPE html>\n"
|
|
203
|
+ "<html>\n"
|
|
204
|
+ "<head>\n"
|
|
205
|
+ "<meta charset=\"utf-8\">\n"
|
|
206
|
+ "<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\">\n"
|
|
207
|
+ "<script type=\"text/javascript\" src=\"svg-pan-zoom.min.js\"></script>\n"
|
|
208
|
+ "<script>\n"
|
|
209
|
+ " var panZoom = null;\n"
|
|
210
|
+ " function doOnLoad() { panZoom = svgPanZoom(document.querySelector('#mysvg'), { controlIconsEnabled:true } ) }\n"
|
|
211
|
+ "</script>\n"
|
|
212
|
+ "</head>\n"
|
|
213
|
+ "<body onload=\"doOnLoad()\">\n"
|
|
214
|
+ "<svg id=\"mysvg\" width=\"%f\" height=\"%f\">\n";
|
215
|
215
|
|
216
|
216
|
|
217
|
217
|
|