Skip to content

fix: correct highlight shortcode delimiters in booking pages - #1265

Open
MoritzWeber0 wants to merge 2 commits into
mainfrom
fix/booking-highlight-format
Open

MoritzWeber0 wants to merge 2 commits into
mainfrom
fix/booking-highlight-format

Conversation

@MoritzWeber0

@MoritzWeber0 MoritzWeber0 commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

When on booking pages, the highlight shortcode syntax depends on the position. If outside a booking-section, it should be {{% %}}. Inside of booking sections, it has to be {{< >}} . The pages with invalid definitions are updated. The CMS configuration was updated to handle it automatically.

Closes #1250

Use {{% %}} for highlight blocks at the top level so Markdown
(bold, italics, links, footnotes) renders correctly, and {{< >}}
only when nested inside another %-delimited shortcode like
booking-section.
@github-actions

Copy link
Copy Markdown

Hi there! 👋

Thank you for your contribution to the FIP Guide! 🚀
We appreciate your effort in making rail staff travel information more accessible. 🚄

Checklist before merging:

  • Added a description to the Pull Request
  • Checked the License of new pictures (non-commercial use without attribution)
  • Modified content in English
  • Modified content in German
  • Modified content in French

@MoritzWeber0
MoritzWeber0 marked this pull request as ready for review October 14, 2026 20:07
Switch the booking collection's editor_components from highlight-raw
to highlight so the CMS inserts {{% highlight %}} instead of
{{< highlight >}}, matching the top-level delimiter convention.
@netlify

netlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit 8f70094
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/6acfe1531565b778db3b9400
😎 Deploy Preview https://deploy-preview-1265--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown not rendered in SNCF hotline section

1 participant