[x] Conformed to code style guidelines by running appropriate linting tools
[x] Updated documentation for changed code
Description
If a page title contains a double quote ("), the double quote is rendered into the stork toml file verbatim, creating a syntax error and causing stork to fail.
This PR escapes double quotes in titles (AFAICT this is the only place where they should appear) with \", fixing the syntax errors.
Pull Request Checklist
Resolves: https://github.com/pelican-plugins/search/issues/3#issuecomment-1186287268
Description
If a page title contains a double quote (
"
), the double quote is rendered into the stork toml file verbatim, creating a syntax error and causing stork to fail.This PR escapes double quotes in titles (AFAICT this is the only place where they should appear) with
\"
, fixing the syntax errors.