Skip to content

Advanced query import loses line breaks and other whitespace #193

Closed
@paulrudy

Description

@paulrudy

Search first

  • I searched and no similar issues were found

What Happened?

Importing advanced queries with multiple lines and whitespace formatting from the MD version results in the query being displayed in a single line in the DB version.

Reproduce the Bug

  1. Create an advanced query in a graph in the MD version
  2. Import the graph to the DB version
  3. View the imported advanced query

Expected Behavior

Query should be displayed either:

  • in its original formatting (multi-line, whitespace preserved)
  • with (multi-line, whitespace indents) formatting automatically applied by Logseq.

Files

No response

Browser, Desktop or Mobile Platform Information

MacOS 15.2, db test version 0.10.10, Firefox browser

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions