[Scummvm-tracker] [ScummVM :: Bugs] #13720: WEB: link URLs are garbled in Touche's compatibility page

ScummVM :: Bugs trac at scummvm.org
Wed May 24 14:02:09 UTC 2023


#13720: WEB: link URLs are garbled in Touche's compatibility page
-------------------------+-------------------------------------------------
Reporter:  JKingweb      |       Owner:  Thunderforge
    Type:  defect        |      Status:  pending
Priority:  low           |   Component:  Web
 Version:                |  Resolution:  assigned
Keywords:                |        Game:  Touché: The Adventures of the
                         |  Fifth Musketeer
-------------------------+-------------------------------------------------
Comment (by criezy):

 The HTMLPurifier is not the real culprit. All links with two `%` are
 misbehaving, whether those come from the HTMLPurifier or are already
 present in the spreadsheet (for example `Putt-
 Putt_%26_Fatty_Bear%27s_Activity_Pack`).

 On discord Digitall suggested that the issue is coming from the
 `compatibility_details.tpl`, and in particular [https://github.com/scummvm
 /scummvm-
 web/blob/fbcd258777d43716342fc92d8b66299a0089578d/templates/components/compatibility_details.tpl#L24
 this line], and I think he is right:
 {{{
 {$game->getNotes()|regex_replace:"/%.+%/":$support_description}
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13720#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list