How to Add a Navbar Menu Title Containing Single Quote

Hello,
I am having difficulty with a menu title in my flexdashboard navbar. I would like for my menu title to include a single quote. However when I attempt to include a single quote within the double quotes for the navbar menu title, the menu is not created.

I've included my code below with YAML. In this code, the menu does not appear in the dashboard. However, it will appear if I remove the single apostrophe in Joneses'. How can I make it so that the menu title includes the single apostrophe? Thank you.

---
title: "Sample Dashboard"
output: 
  flexdashboard::flex_dashboard:
    orientation: columns
    vertical_layout: fill
---

Bedroom {data-navmenu="The Joneses' House"}
=====================================

Update: I've tried escaping the single quote with the following code: Bedroom {data-navmenu="The Joneses\' House"}. This also does not work. Any ideas on what I need to do differently? Thanks.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.