Skip to content

Uppercase normalization not reading previous uppercase admonitions #388

@anarchicRealist

Description

@anarchicRealist

Expected Behavior

It looks like with this update (#371), all admonitions should be normalized to lowercase in the settings, and they should be able to read existing admonitions that were created previously that remain uppercase.

Current behaviour

In the settings for the plugin, all admonitions are correctly normalizing, but the existing admonitions in the notes are not registering with the stylings. All of my admonitions were made with uppercase titles and exist in the notes with the old uppercase titles, and so are not reading correctly with this normalization and there does not seem to be any option to update prior admonitions to be lowercase.

Steps to reproduce

  1. Launch Obsidian
  2. Insert an Admonition into a note that had an Uppercase title before this update into a note or create an Admonition with an uppercase title and insert it into a note:
    In settings title = Test

ad-Test
text content

  1. Reload
  2. Admonition setting are reverted to title = test, but the text in the note itself remains:

ad-Test
text content

and thus is not displayed with the Test admonition stylings.

Is there a way to have the existing admonitions with ad-Uppercase register with the stylings now that they've been normalized?

Which Operating Systems are you using?

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

Obsidian Version

1.12.7

Plugin Version

11.0.3

Checks

  • I have tried it in the sandbox vault with only this plugin enabled

Possible solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions