BUG report - special characters in page names

NimrodYanai
NimrodYanai

When creating a wiki/character page that has a title with special characters, you can't use the link buttons, and have to use a url instead.

I tried replacing the characters in the link with URL and HTML encoded versions, but that doesn't work either.

So far I know of two characters causing this problem:& and '

but my guess is there are others as well.

Comments

  • thaen
    thaen
    Posts: 670

    Thanks for pointing this out!

    The special characters should only be a problem in Wiki Pages.  The Character (and Item) Links use a different format.  Are you seeing an issue in Character Links?

    The creation of the Wiki Page allows any character to be used in the Name, but as you noted, the Wiki Link button, or more specifically the "[[ ]]" link format doesn't handle all special characters.  Currently it  only handles: _()[email protected],'"~&

    I just added the "&", so that should work for you now.  If anyone reading this runs across other special characters that you'd like to be able to use, feel free to request them, and I'll add them.  I think the only ones we'd have issues adding would be the ":" (because I think it would conflict with the Character Link format) and the "|" (because that would conflict with the "|" delimiter between the link text and the page name).

    The apostrophe (') should already have been working.  Can you point me to the url of the page that you were trying to link to?  I know I've run into situations where there are different apostrophes with different character codes that can sometimes get slipped in via cut/paste between different text editors.

     

    Obsidian Portal Developer

  • NimrodYanai
    NimrodYanai
    Posts: 71

    The page I tried linking is: https://baldursgate-9.obsidianportal.com/wikis/water-queen-s-house-the

    As you can see, if I just use the automated function, this is the result:image

     

    Thanks!

  • thaen
    thaen
    Posts: 670

    Yeah, it's that "different apostrophes" thing.  The title of that page is using "  ’  ", but the standard keyboard typed one would be "  '  ".  One is more curved than the other, and is actually a different character.  I'll add the more curved one to the handled characters later tonight.

    Obsidian Portal Developer

  • thaen
    thaen
    Posts: 670

    Try Editing and then Saving that page again with the inserted Wiki Page link.  It should work now.

    Obsidian Portal Developer

  • NimrodYanai
    NimrodYanai
    Posts: 71

    Works now.



    Thanks!

  • Abersade
    Abersade
    Posts: 205

    If anyone is curious regarding a full list of what works and what doesn't I have one here: https://abersade-testbed.obsidianportal.com/wikis/special-characters-in-wiki-links

     

  • GamingMegaverse
    GamingMegaverse
    Posts: 2,915

    Btw @Abersade that is a great help site you have made!

    Just trying to help out.

Sign In or Register to comment.

November 2021
Star Trek Odyssey: Laurels of Victory

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions