You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by sebb <se...@gmail.com> on 2017/05/22 16:28:10 UTC
Problem with Nokogiri escaping in collate_minutes.rb
I've been trying to add Pop-up permalinks to the minutes as are
available on the original calendar page:
https://www.apache.org/foundation/board/calendar.html
To see the permalink, hover over the heading:
2017 Board calendar
However Nokogiri does not seem to allow for writing CSS selectors of the form:
h1:hover > .headerlink
The '>' is converted to > which means the CSS does not work.
There's also a separate issue with writing the entity name '¶' to the file.
This needs to be done when building the index pages, i.e. it is
provided as input to the builder which is then passed to Nokogiri.
I could replace them both with special markers and do a global
substitution just before saving the file, but that is messy and one
would need to be careful not to change the wrong markers.
Any ideas, or is it a fruitless task?