-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Tiddlers with multi-line fields can be incorrectly exported as .tid files #5809
Comments
That's true. ... At "How could system-fields look like with 5.2.x" #5805 .. I did suggest a possible multiline
This format contains both "edge-cases" you discuss here. ... The proposed system-field contains 2 And it contains a "theoretical" multi line field. ... Where I personally would like the "marker" to be dynamic. In the example above the I'm not 100% sure, how the just some thoughts |
@pmario It would be prudent not to conflate the two issues. This is a relatively easy fix that can be accomplished during the course of the work on #5708 Changing the |
IMO the new fields in general will never be backwards compatible. In 5.1.23 only "lowercase letters, digits and the characters underscore (_), hyphen (-) and period (.)" are allowed. This is also true for the So the only thing which I think is important, is "forward compatibility" to allow a seamless transition from 5.1.x to 5.2.x As it seems now the only character that is problematic in .tid-fields is From my point of view: |
Describe the bug
Create a tiddler with a multi-line field. Export it using the tiddler toolbar. Exporting as
.tid
is enabled but the exported file cannot be correctly imported on another TiddlyWikiTo Reproduce
.tid
fileWe probably need a filter operator that checks for unsafe fields and accordingly disables the .tid export option. Or alternatively a filter operator that given an input title, returns the supported export formats.
Also see #5708 (comment). With the introduction of the JSON format store area and greater freedom in field names, the same issue will need to be addressed when tiddler field names contain a
:
character.The text was updated successfully, but these errors were encountered: