Skip to content

Link abstraction breaks relative links between languages #1244

Open
@teppokoivula

Description

@teppokoivula

Short description of the issue

If CKEditor enabled field (note: this likely affects regular Textarea with HTML content type as well) has link abstraction HTML option enabled and user inserts a link to the same page but in another language (i.e. from /fi/tietoa-meista/ to the same page in default language, /about-us/), link abstraction seems to replace this with a link to current language version when viewing the page.

Expected behavior

Link abstraction should not modify links from one language to another — or at least I can't really see how this would be intended behaviour.

Actual behavior

Link abstraction modifies links.

Steps to reproduce the issue

  1. On a multilingual website, edit Textarea Language field with CKEditor and link abstraction HTML option enabled
  2. Add a link to the same page in the default language from non-default language
  3. Open the site — link should now point to the same language instead of the default language version

Setup/Environment

  • ProcessWire version: 3.0.148
  • (Optional) PHP version: 7.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions