Skip to content

Commit fe7f26f

Browse files
committedApr 13, 2013
drop invalid chars in project write entry
1 parent 5d99595 commit fe7f26f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/core/qgsproject.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,7 @@ bool QgsProject::write()
953953
}
954954

955955
QDomImplementation DomImplementation;
956+
DomImplementation.setInvalidDataPolicy( QDomImplementation::DropInvalidChars );
956957

957958
QDomDocumentType documentType =
958959
DomImplementation.createDocumentType( "qgis", "http://mrcc.com/qgis.dtd",

0 commit comments

Comments
 (0)
Please sign in to comment.