Skip to content

In-text Citation Popup Rendering Error #637

Answered by chrisdaaz
chrisdaaz asked this question in Get Help
Discussion options

You must be logged in to vote

Aha! Thanks @geealbers! It's been a minute, but I could have sworn using the | or > character was my way of getting around the problem of citation strings containing both single and double quotes breaking the YAML parser in the past.

For example, that full citation for "Nyord 2018" above will not work with quote, pipe (|), or > characters, but it will work if you add a minus (-) at the end so that new lines or empty lines are stripped from the end of the string. I'm guessing these new lines were creating the <p> elements.

Formatting my YAML like this (|-):

- id: "Nyord 2018"
  full: |-
      Nyord, Rune. 2018. "'Taking ancient Egyptian mortuary religion seriously': Why would we, and how c…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chrisdaaz
Comment options

Answer selected by Erin-Cecele
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants