Replies: 2 comments 2 replies
-
I'm not too clear on the sequence of events in your implementation and it's probably because I'm not too familiar with this part of Bridgetown. How are you calling the Netlify function? Are you calling it within Ruby frontmatter? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I would be very surprised if the front matter value itself is being escaped in any way. Can you describe how you're using it within a template? There's probably a way to output the raw string. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use a (Netlify) function that creates images on the fly. Great way to make og:images stand out more.
The problem I'm facing is around xml escaping that (rightly so) in place for frontmatter values.
So the following line:
turns into:
Notice the
&
.I've tried the parsing the frontmatter using Ruby, but that doesn't help as the escaping happens later. Any ideas or workarounds known for this?
Beta Was this translation helpful? Give feedback.
All reactions