summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/HTML5/Elements.php8
-rw-r--r--src/HTML5/Exception.php3
2 files changed, 9 insertions, 2 deletions
diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php
index 3c1e57f..89de3c6 100644
--- a/src/HTML5/Elements.php
+++ b/src/HTML5/Elements.php
@@ -38,13 +38,17 @@ class Elements {
// "pre", "listing"
// "form"
// "plaintext"
- /** Indicates that if a previous event is for a P tag, that element
- * should be considered closed. */
+ /**
+ * Indicates that if a previous event is for a P tag, that element
+ * should be considered closed.
+ */
const AUTOCLOSE_P = 16;
+ /** Indicates that the text inside is plaintext (pre). */
const TEXT_PLAINTEXT = 32;
// See https://developer.mozilla.org/en-US/docs/HTML/Block-level_elements
+ /** Indicates that the tag is a block. */
const BLOCK_TAG = 64;
diff --git a/src/HTML5/Exception.php b/src/HTML5/Exception.php
index fab97d0..aa650a6 100644
--- a/src/HTML5/Exception.php
+++ b/src/HTML5/Exception.php
@@ -1,5 +1,8 @@
<?php
namespace HTML5;
+/**
+ * The base exception for the HTML5 project.
+ */
class Exception extends \Exception {
}