Skip to content
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]: Infinite insert of new lines #345

Open
3 of 7 tasks
Arkh42 opened this issue May 13, 2024 · 1 comment
Open
3 of 7 tasks

[Bug]: Infinite insert of new lines #345

Arkh42 opened this issue May 13, 2024 · 1 comment
Assignees
Labels
Bug Something is not working and will need to be fixed.

Comments

@Arkh42
Copy link

Arkh42 commented May 13, 2024

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

When I open an element and do not edit, it should not be automatically edited.

Current behaviour

When I open an element (bug currently observed on Sessions, Locations, Factions, and NPC), it is automatically edited without any action from myself.
An infinite amount of new lines is inserted between the code block of RPG Manager and the links automatically added for relationships at the bottom of the page.

Reproduction

Currently, I cannot find a way to reproduce the problem.

Options enabled within RPG Manager:

  • Keep Element Organised
  • Force Full Width

It seems to be due to a bad parsing of elements that are linked through a relationship.
If this is confirmed, the steps to reproduce the issue are:

  1. create an NPC
  2. create a Location
  3. link them with a Relationship
  4. close Obsidian
  5. restart Obsidian

This could be related to issues #340 and #341

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.5.12

Plugin Version

4.1.14

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

@Arkh42 Arkh42 added the Bug Something is not working and will need to be fixed. label May 13, 2024
@Arkh42
Copy link
Author

Arkh42 commented May 14, 2024

I might have found the origin of the issue.

This seems to happen when I create a wiki link somewhere in the fields.

So, to reproduce the issue, I suggest the following procedure:

  1. Create an NPC.
  2. Create a Location.
  3. Link them with a Relationship.
  4. In the NPC description field, reference the location by using a Wiki link, e.g., [[Location_name]].
  5. Close Obsidia.
  6. Restart Obsidian.
  7. Go in the NPC page and check if new lines are inserted. If not, try to edit a field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working and will need to be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants