rainlab / pages-plugin

Adds static pages and menus
MIT License
121 stars 100 forks source link

Using a link does not work inside static page content fields #531

Open chocolata opened 4 months ago

chocolata commented 4 months ago

Description:

When you edit a static page content via the back-end editor and add a link, the link value is not being generated on the frontend. Instead the raw link value as generated by the pagefinder widget is outputted, like <a href="october://static-page@link/index">Button</a>

Steps To Reproduce:

Create a piece of content via the backend Pages > Content > + Add. Create some text and select the text to insert a link via the pagefinder widget. Save and verify on the frontend that the link isn't encoded correctly. image

Can this be fixed?

daftspunk commented 4 months ago

Hey @chocolata

Thanks for reporting this bug. This will be fixed in v3.6.19+

daftspunk commented 3 months ago

The fix had to be rolled back, so I think we may need to look at changing the default filename to .html here.