Skip to content

Commit

Permalink
default output mode changed to HTML4 TRANSITIONAL (BC break!)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Aug 3, 2011
1 parent acaa0a4 commit c6123b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Texy/Texy.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public function __construct()
// load all modules
$this->loadModules();

$this->setOutputMode(self::XHTML1_TRANSITIONAL);
$this->setOutputMode(self::HTML4_TRANSITIONAL);

// examples of link references ;-)
$link = new TexyLink('http://texy.info/');
Expand Down
2 changes: 1 addition & 1 deletion Texy/libs/TexyHtml.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class TexyHtml extends TexyObject implements ArrayAccess, /* Countable, */ Itera
protected $children = array();

/** @var bool use XHTML syntax? */
public static $xhtml = TRUE;
public static $xhtml = FALSE;

/** @var array empty elements */
public static $emptyElements = array('img'=>1,'hr'=>1,'br'=>1,'input'=>1,'meta'=>1,'area'=>1,
Expand Down

0 comments on commit c6123b3

Please sign in to comment.