X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FPresenter%2FTag.pm;h=a140fe4e4aeb23b64cab362e7542bd6c37f69edb;hb=2bc2e21bb970197e0b4151d19648e7bb5ce21b18;hp=25c7d0c2cb16e84b04741e9913fa441e910fea37;hpb=b6b88a99bfd86c1bd8290d38e24f4fdf0939fa3e;p=kivitendo-erp.git diff --git a/SL/Presenter/Tag.pm b/SL/Presenter/Tag.pm index 25c7d0c2c..a140fe4e4 100644 --- a/SL/Presenter/Tag.pm +++ b/SL/Presenter/Tag.pm @@ -10,7 +10,7 @@ use Exporter qw(import); our @EXPORT_OK = qw( html_tag input_tag hidden_tag javascript man_days_tag name_to_id select_tag checkbox_tag button_tag submit_tag ajax_submit_tag input_number_tag - stringify_attributes restricted_html textarea_tag link_tag date_tag + stringify_attributes textarea_tag link_tag date_tag div_tag radio_button_tag img_tag); our %EXPORT_TAGS = (ALL => \@EXPORT_OK); @@ -369,13 +369,6 @@ sub _set_id_attribute { my $html_restricter; -sub restricted_html { - my ($value) = @_; - - $html_restricter ||= SL::HTML::Restrict->create; - return $html_restricter->process($value); -} - sub textarea_tag { my ($name, $content, %attributes) = @_; @@ -500,10 +493,6 @@ Creates a string from all elements in C<%items> suitable for usage as HTML tag attributes. Keys and values are HTML escaped even though keys must not contain non-ASCII characters for browsers to accept them. -=item C - -Returns HTML stripped of unknown tags. See L. - =back =head2 HIGH-LEVEL FUNCTIONS