handlingar / handlingar-theme

An example theme for alaveteli
http://alaveteli.org
MIT License
3 stars 3 forks source link

Blog feed rendering with html formatting on landing page #4

Open mattiasaxell opened 5 months ago

mattiasaxell commented 5 months ago

Check https://handlingar.se/sv/ and scroll down.

This RSS blog feed from WordPress 6+ is embedded: https://about.handlingar.se/category/handlingar/feed/ is rendering strangely. Could perhaps be tested with this: https://about.handlingar.se/feed/ but results would probably be the same.

image

DATAVXN commented 5 months ago

Looks like you're using html entities in your code (instead of opening tags "<" and closing tags ">") which are designed to print what they represent on the screen:

Replacing these for actual html opening and closing tags will correct the issue. See attached:

Screen Shot 2024-01-29 at 6 47 22 PM Screen Shot 2024-01-29 at 6 47 10 PM Screen Shot 2024-01-29 at 6 42 49 PM Screen Shot 2024-01-29 at 6 42 21 PM Screen Shot 2024-01-29 at 7 05 33 PM

mattiasaxell commented 5 months ago

@DATAVXN Great find! Would you like to make a pull request with a fix? :)

DATAVXN commented 5 months ago

Yes, ty! :)

mattiasaxell commented 5 months ago

@DATAVXN When do you think you can make a pull request? :pray:

DATAVXN commented 5 months ago

@mattiasaxell I entered one within the hour a few days ago. I see it listed under ur pull requests, but let me double check it shortly and re enter. Thank u.

DATAVXN commented 5 months ago

@mattiasaxell it was listed under pull requests and also on my vs code:

https://github.com/handlingar/handlingar-theme/pull/6

I closed it and will resubmit.

DATAVXN commented 4 months ago

@mattiasaxell I resubmitted this morning and it created same pull request as before. I see it listed under pull requests. Do u see it? image

nexinovation commented 4 months ago

I think i should be able to fix this