Changeset 717 for trunk/lib


Ignore:
Timestamp:
Feb 13, 2020 9:29:19 PM (4 years ago)
Author:
anonymous
Message:

Strip tags from sort header title attributes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/SortOrder.inc.php

    r714 r717  
    222222                }
    223223            } else {
    224                 ?><a href="<?php echo $app->oHREF($this->base_url . '?sort=' . $col . '&order=' . $default_order); ?>" data-tooltip title="<?php echo sprintf(_("Sort by %s"), $col_name); ?>" class="sc-sort"><?php echo $col_name; ?></a><?php
     224                ?><a href="<?php echo $app->oHREF($this->base_url . '?sort=' . $col . '&order=' . $default_order); ?>" data-tooltip title="<?php echo sprintf(_("Sort by %s"), strip_tags($col_name)); ?>" class="sc-sort"><?php echo $col_name; ?></a><?php
    225225            }
    226226        } else {
     
    250250                $col,
    251251                ($this->sort_by == $col ? ' selected="selected"' : ''),
    252                 $col_name
     252                strip_tags($col_name)
    253253            );
    254254        }
Note: See TracChangeset for help on using the changeset viewer.