We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent b0c519e commit 04ec683Copy full SHA for 04ec683
src/core/dxf/qgsdxfexport.cpp
@@ -4101,6 +4101,11 @@ QString QgsDxfExport::dxfLayerName( const QString& name )
4101
layerName.replace( '=', '_' );
4102
layerName.replace( '\'', '_' );
4103
4104
+ // also remove newline characters (#15067)
4105
+ layerName.replace( "\r\n", "_" );
4106
+ layerName.replace( '\r', '_' );
4107
+ layerName.replace( '\n', '_' );
4108
+
4109
return layerName.trimmed();
4110
}
4111
0 commit comments