The customized message display currently works, but is displaying HTML tags rather than using them.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

akalata created an issue. See original summary.

akalata’s picture

Status: Active » Needs work
FileSize
3.29 KB

Posting progress - getting site map message to render (that change must not have come over from my earlier patches), removing the namespacing of site_map_message variables. Also fixes code commenting in site-map.twig.html, though arguably that could be a separate issue. Now issue summary is up-to-date.

akalata’s picture

Status: Needs work » Needs review
FileSize
807 bytes

Ignore #2. I was able to get this working with the least amount of effort. Lots of cleanup I'd like to do, but minimal changes are probably best to start with.

akalata’s picture

Category: Task » Bug report
Priority: Normal » Critical

This is actually urgent because it fixes a bug that's causing WSOD on the /sitemap path.

  • Nafes committed f61e722 on 8.x-1.x authored by akalata
    Issue #2597784 by akalata: D8 port: Fix display of site map message
    
Nafes’s picture

Status: Needs review » Fixed

This works. Great fix! Thank you, akalata!

akalata’s picture

I may have talked one of my clients into sponsoring some of my work on this module since they use it for all their sites - in the meantime I'm happy to work on things where I can!

akalata’s picture

Priority: Critical » Normal
Status: Fixed » Needs review
FileSize
578 bytes

Need to reopen this - noticed that the <p> tags didn't show up when restricted_html format was used, but when HTML is included (either in that filter or by changing the input filter), we see escaped code.

Brand-new patch, earlier commit in #5 is still 100% good.

Nafes’s picture

I may have talked one of my clients into sponsoring some of my work on this module since they use it for all their sites - in the meantime I'm happy to work on things where I can!

Good to hear! I will try to commit your excellent patches without delays. Thank you for your time and efforts.

Need to reopen this

My fault. Attempted to commit the fix urgently :)

the <p> tags didn't show up when restricted_html format was used

Brand new patch fixes <p> tags issue when the tags were entered to the message manually. But the tags are not added automatically on config saving, as supposed for restricted HTML. Any ideas? I guess, some extra parameter of the entry field on config form should do the job.

akalata’s picture

I'm wondering if that's an issue with the restricted HTML filter itself. Switching into Basic or Full I'm able to add all sorts of tags.

  • Nafes committed 10453f1 on 8.x-1.x authored by akalata
    Issue #2597784 by akalata: D8 port: Fix display of site map message
    
Nafes’s picture

Confirmed. You are right. We can open a separate issue about restricted HTML filter on config form. I committed the change. If you have no more ideas about this particular issue, please close it as "Fixed". Thanks again for your efforts!

akalata’s picture

Status: Needs review » Fixed

Yeah, let's create a new issue for that.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

akalata’s picture

Project: Site map » Sitemap