Fixed issue #823. SVG Export - seam and cutting line of one piece missing.

(grafted from 56c6ae623ed101a1e3276bc4a0ab5f6102ebae41)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-03-22 16:32:20 +02:00
parent edccf05a62
commit f1ef60e441
2 changed files with 2 additions and 1 deletions

View File

@ -95,6 +95,7 @@
- [#798] Formula Wizard crashes with translated increments.
- [#803] Bug in FancyTabBar widget. Wrongly calculated widget width.
- [#805] Invalid regular expression for validation layout output filename mask.
- [#823] SVG Export - seam and cutting line of one piece missing.
# Version 0.5.0 May 9, 2017
- [#581] User can now filter input lists by keyword in function wizard.

View File

@ -910,7 +910,7 @@ void MainWindowsNoGUI::SvgFile(const QString &name, QGraphicsRectItem *paper, QG
generator.setSize(paper->rect().size().toSize());
generator.setViewBox(paper->rect());
generator.setTitle(tr("Pattern"));
generator.setDescription(doc->GetDescription());
generator.setDescription(doc->GetDescription().toHtmlEscaped());
generator.setResolution(static_cast<int>(PrintDPI));
QPainter painter;
painter.begin(&generator);