PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
254 stars 202 forks source link

WeBWorK: fix fat commas #2124

Closed Alex-Jordan closed 2 months ago

Alex-Jordan commented 2 months ago

This does two things related to perl "fat commas". One is just to escape the > signs in the XML, for consistency sake.

The change here that affects the output is with key value pairs. Long story short, I forgot that with perl key-value pairs, if you separate with a comma, the key should be surrounded in quotes. Without quotes, it creates perl warnings. So back to fat commas at line 3003.

rbeezer commented 2 months ago

Thanks. Merged as-is.

Took me a while to realize I would only see changes in the intermediate file from the first pass before being sent to the server. So just settled for seeing a few base64 strings changing in HTML.

What's a "fat comma"? ;-) Never mind, I consulted Wikipedia.