Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions smartypants.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#


define( 'SMARTYPANTS_VERSION', "1.5.1f" ); # Unreleased
defined( 'SMARTYPANTS_VERSION' ) || define( 'SMARTYPANTS_VERSION', "1.5.1f" ); # Unreleased


#
Expand All @@ -23,16 +23,16 @@
# 3 -> "--" for em-dashes; "---" for en-dashes
# See docs for more configuration options.
#
define( 'SMARTYPANTS_ATTR', 1 );
defined( 'SMARTYPANTS_ATTR' ) || define( 'SMARTYPANTS_ATTR', 1 );


# SmartyPants will not alter the content of these tags:
define( 'SMARTYPANTS_TAGS_TO_SKIP', 'pre|code|kbd|script|style|math');
defined( 'SMARTYPANTS_TAGS_TO_SKIP' ) || define( 'SMARTYPANTS_TAGS_TO_SKIP', 'pre|code|kbd|script|style|math');


### Standard Function Interface ###

define( 'SMARTYPANTS_PARSER_CLASS', 'SmartyPants_Parser' );
defined( 'SMARTYPANTS_PARSER_CLASS' ) || define( 'SMARTYPANTS_PARSER_CLASS', 'SmartyPants_Parser' );

function SmartyPants($text, $attr = SMARTYPANTS_ATTR) {
#
Expand Down Expand Up @@ -760,4 +760,4 @@ function when loaded simultanously.
possibility of such damage.

*/
?>
?>