You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using johnny.decimal to name pages, except I foolishly decided that colons look better than blank spaces so I end up with page names like S01: Skyler Grey/40-49: Travel/41: Leisure/S01.41+2024-10: USA trip
Fine, great, pages work fine... except when uploading images. If I drag and drop an image into the page, it doesn't display at all, like this:
If you remove the exclamation mark and try to click on the URL, you instead get a dialog asking you if you want to let your silverbullet instance open the page with a handler for the "protocol" before the colon ('scuse my French, this says "Allow https://silverbullet.starrysky.fyi to open this s01 URL with system handler")
You can also get away with this if you have a slash in the URL before the colon. For example, if the space were called Skyler Grey/S01: Personal instead this doesn't occur
Reproduction steps
Call a page S01: Foo/Bar. This has to be at the top of your workspace (you can't have Baz/S01: Foo/Bar)
Drag and drop an image onto the page
Actual outcome
The image isn't displayed
Expected outcome
The image should be displayed even if the first part of the page name contains a colon
Versions
Silverbullet Version: Occurs on both 0.9.4 and 0.10.1
Browser Version: Occurs on both Firefox 132.0.1 and Chromium 130.0.6723.116
Sync or online mode: Occurs on both
The text was updated successfully, but these errors were encountered:
Bug description
I am using johnny.decimal to name pages, except I foolishly decided that colons look better than blank spaces so I end up with page names like
S01: Skyler Grey/40-49: Travel/41: Leisure/S01.41+2024-10: USA trip
Fine, great, pages work fine... except when uploading images. If I drag and drop an image into the page, it doesn't display at all, like this:
Enregistrement d'écran_20241120_115658.webm
(as demonstrated you can refresh the page/etc. with no change)
If you remove the exclamation mark and try to click on the URL, you instead get a dialog asking you if you want to let your silverbullet instance open the page with a handler for the "protocol" before the colon ('scuse my French, this says "Allow https://silverbullet.starrysky.fyi to open this s01 URL with system handler")
As a workaround, you can add
./
to the front of the URL, although this does make the URL display as if it doesn't exist:Enregistrement d'écran_20241120_120402.webm
You can also get away with this if you have a slash in the URL before the colon. For example, if the space were called
Skyler Grey/S01: Personal
instead this doesn't occurReproduction steps
S01: Foo/Bar
. This has to be at the top of your workspace (you can't haveBaz/S01: Foo/Bar
)Actual outcome
Expected outcome
Versions
Silverbullet Version: Occurs on both 0.9.4 and 0.10.1
Browser Version: Occurs on both Firefox 132.0.1 and Chromium 130.0.6723.116
Sync or online mode: Occurs on both
The text was updated successfully, but these errors were encountered: