Skip to content
  • This project
    • Loading...
  • Sign in

Agung Nugraha Putra / SIAS_2020

Login2
Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • SIAS_2020
  • htmlpurifier
  • library
  • HTMLPurifier
  • Token
  • Empty.php
  • Maulyanda's avatar
    First commit · f5262feb
    f5262feb
    Maulyanda authored 2020-02-06 11:28:32 +0700
Empty.php 248 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php

/**
 * Concrete empty token class.
 */
class HTMLPurifier_Token_Empty extends HTMLPurifier_Token_Tag
{
    public function toNode() {
        $n = parent::toNode();
        $n->empty = true;
        return $n;
    }
}

// vim: et sw=4 sts=4