Advertisement
Guest User

Untitled

a guest
Sep 24th, 2015
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. sub rfc_show {
  2. my $self = shift;
  3.  
  4. my $rfc_id = $self->stash('id');
  5.  
  6. my $rfc_get = db_rfc_get($rfc_id);
  7.  
  8. $rfc_get->{'dtl_chg'} = Text::InHTML::encode_plain($rfc_get->{'dtl_chg'});
  9.  
  10. # Check log to verify that plain text has been encoded to html
  11. say $rfc_get->{'dtl_chg'};
  12.  
  13. $self->stash( rfc_get => $rfc_get );
  14.  
  15. $self->render('rfc_order/rfc_show');
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement