Issues
Operating System
MacOS
Actual Behavior
When rendering RSS feed with xml-stylesheet like below, norgolith removes that metadata entirely.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="assets/rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
...
Expected behavior
norgolith should not remove those metadata.
Fix the validation
Steps to reproduce
- create
rss.xml template with xml-stylesheet like snippet above
- run
lith build
- compare the generated
rss.xml code from original.
Other information
I assume this was originally intended to be a xml minifier.
We can implement that without using rss crate
Help
Yes
Implementation help
https://github.com/NTBBloodbath/norgolith/blob/master/src/cmd/build.rs#L110-L113
Seems like this part of a code is causing the issue.
Issues
Operating System
MacOS
Actual Behavior
When rendering RSS feed with
xml-stylesheetlike below, norgolith removes that metadata entirely.Expected behavior
norgolith should not remove those metadata.
Fix the validation
Steps to reproduce
rss.xmltemplate withxml-stylesheetlike snippet abovelith buildrss.xmlcode from original.Other information
I assume this was originally intended to be a xml minifier.
We can implement that without using rss crate
Help
Yes
Implementation help
https://github.com/NTBBloodbath/norgolith/blob/master/src/cmd/build.rs#L110-L113
Seems like this part of a code is causing the issue.