Page not found 404 - malformed links

Created on 4 April 2023, over 1 year ago
Updated 29 February 2024, 9 months ago

Problem/Motivation

High and Normal links don't work - they go to a 404 page:
drupalHighContrast.enableStyles() 404 (Not Found)

Steps to reproduce

Click on links.
The links looked malformed:
High
If you manually edit that to
High
it works fine.

This is version 7.x-1.3+3-dev

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom mchaplin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mchaplin
  • 🇨🇱Chile mnovoa

    Any solution to this?
    I use Lexus Zymphonies Theme
    and presents the problem described

  • 🇮🇹Italy mattyy21

    Hi same problem here.
    After update core to 7.99.
    The old worked code is:

    <span class="high_contrast_switcher_high" style="display: inline;"><a href="javascript:drupalHighContrast.enableStyles()">Contrast</a></span>

    After the update, the no works code is

    <span class="high_contrast_switcher_high"><a href="drupalHighContrast.enableStyles()">Contrast</a></span>

    Looks like strip the in the "a tag, javascript"

Production build 0.71.5 2024