Bug report #8267
Line breaks in Metadata Title and Abstract
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Project Loading/Saving | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 17070 |
Description
When typing abstracts and title (although line breaks not always logic) in the Metadata tab in the layer properties, and including line breaks, new line breaks ( ) will be added by themselves whenever the project file is saved. This means that over time, when a project has been saved lots of times, there will be a lot more line breaks in the metadata than intended.
The bug seems to occur when a line in the project file ends with the linebreak sign, and typically two line break signs are added when project file is saved. To avoid the bug, I have to edit the project file in a text editor, and make sure that the physical line breaks, which comes in addition to the line break sign in the project file, are removed so that the next line in the metadata follows after the line break sign on the first line. As this:
Line 1
Line 2
--->
Line 1
Line 2
Related issues
Associated revisions
History
#1 Updated by Jürgen Fischer over 10 years ago
- Category set to Project Loading/Saving
#2 Updated by Jürgen Fischer over 10 years ago
- Status changed from Open to Closed
Fixed in changeset d62a49810e6117d3b3815c9c2367f7ac745f054b.