querySelectorEscape() fails to escape an id with a trailing dot
This bug was first declared here: https://github.com/rstudio/pagedown/issues/84
When an element id
contains a trailing dot, querySelectorEscape()
fails.
Using the built-in Chrome (72.0.3626.121) CSS.escape()
function instead of querySelectorEscape()
introduced in https://gitlab.pagedmedia.org/tools/pagedjs/commit/0e4e6ec1bbd4b8afda4b497e63b2109b5b425127 solves the bug for me.