diff --git a/examples/1-2-3 start/style.css b/examples/1-2-3 start/style.css index 09be709b..b88dcdf9 100644 --- a/examples/1-2-3 start/style.css +++ b/examples/1-2-3 start/style.css @@ -1,7 +1,5 @@ -/************************************************** PISMO A VELIKOST */ - body, input, select, textarea, th, td { - font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif; /* Trebuchet MS (elegantní bezpatkové písmo) */ + font-family: "Trebuchet MS", "Geneva CE", lucida, sans-serif; } input, select, textarea { diff --git a/examples/syntax highlighting/sample.texy b/examples/syntax highlighting/sample.texy index 4a378271..b92b7d57 100644 --- a/examples/syntax highlighting/sample.texy +++ b/examples/syntax highlighting/sample.texy @@ -37,7 +37,7 @@ And Now for Something Completely Different: - Vyzkoušejte si Texy! + Try Texy! \--- diff --git a/texy/libs/RegExp.Patterns.php b/texy/libs/RegExp.Patterns.php index 066e141b..56c3c86f 100644 --- a/texy/libs/RegExp.Patterns.php +++ b/texy/libs/RegExp.Patterns.php @@ -53,7 +53,7 @@ // links -define('TEXY_LINK_URL', '(?:\[[^\]\n]+\]|(?!\[)[^\s'.TEXY_MARK.']*?[^:);,.!?\s'.TEXY_MARK.'])'); // any url (nekončí :).,!? +define('TEXY_LINK_URL', '(?:\[[^\]\n]+\]|(?!\[)[^\s'.TEXY_MARK.']*?[^:);,.!?\s'.TEXY_MARK.'])'); // any url - doesn't end by :).,!? define('TEXY_LINK', '(?::('.TEXY_LINK_URL.'))'); // any link define('TEXY_LINK_N', '(?::('.TEXY_LINK_URL.'|:))'); // any link (also unstated) define('TEXY_EMAIL', '[A-Za-z0-9.+_-]{1,64}@[0-9.+_'.TEXY_CHAR.'\x{ad}-]{1,252}\.[a-z]{2,6}'); // name@exaple.com diff --git a/texy/modules/TexyLongWordsModule.php b/texy/modules/TexyLongWordsModule.php index 26656cd7..2aa7b51d 100644 --- a/texy/modules/TexyLongWordsModule.php +++ b/texy/modules/TexyLongWordsModule.php @@ -143,7 +143,7 @@ private function pattern($matches) if ($s[$a] === '.') { $hyphen = self::HERE; break; } - if (isset($consonants[$s[$a]])) { // souhlásky + if (isset($consonants[$s[$a]])) { // consonants if (isset($vowels[$s[$a+1]])) { if (isset($vowels[$s[$a-1]])) $hyphen = self::HERE; @@ -173,7 +173,7 @@ private function pattern($matches) } break; - } // konec souhlasky + } // end of consonants if (($s[$a] === 'u') && isset($doubleVowels[$s[$a-1]])) { $hyphen = self::AFTER; break; } if (isset($vowels[$s[$a]]) && isset($vowels[$s[$a-1]])) { $hyphen = self::HERE; break; }