[geeklog-hg] [Geeklog-Core/geeklog] 351ba0: Returned LANG variables from Template Class now ex...

Tom noreply at github.com
Fri Apr 1 08:05:52 EDT 2022


  Branch: refs/heads/master
  Home:   https://github.com/Geeklog-Core/geeklog
  Commit: 351ba07de122dabd6e4f5e0f552cb48d8309113c
      https://github.com/Geeklog-Core/geeklog/commit/351ba07de122dabd6e4f5e0f552cb48d8309113c
  Author: eSilverStrike <eSilverStrike at users.noreply.github.com>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M system/classes/template.class.php

  Log Message:
  -----------
  Returned LANG variables from Template Class now exactly the same as found in language files

Initially htmlspecialchars was used on the return language variable to convert HTML into entities. Not sure why this is done as some language variables have HTML tags in them for formatting reasons.  When these language variables are used in code htmlspecialchars is not used.

If language variables need to display actual HTML tags then they should already use HTML entities and not need to be converted.




More information about the geeklog-cvs mailing list