Skip to content

Commit

Permalink
- typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 19, 2009
1 parent 08408ea commit 1fa676d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions examples/1-2-3 start/style.css
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion examples/syntax highlighting/sample.texy
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ And Now for Something Completely Different:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
<title>Vyzkoušejte si Texy!</title>
<title>Try Texy!</title>
\---


Expand Down
2 changes: 1 addition & 1 deletion texy/libs/RegExp.Patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -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}'); // [email protected]
Expand Down
4 changes: 2 additions & 2 deletions texy/modules/TexyLongWordsModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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; }
Expand Down

0 comments on commit 1fa676d

Please sign in to comment.