summaryrefslogtreecommitdiffstats
path: root/system/libraries/Typography.php
AgeCommit message (Collapse)AuthorFilesLines
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/librariesAlex Bilbie1-4/+4
2012-05-17Clean up the librariesAndrey Andreev1-2/+2
2012-04-20Start comment cleanup of librariesTimothy Warren1-6/+30
2012-03-26Remove access description lines and cleanup the Typography libraryAndrey Andreev1-33/+20
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-01-10Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into developRonald Beilsma1-1/+1
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-28fixed bug in typography libraryRonald Beilsma1-1/+1
array index starts at 0, not 1
2011-12-26Replace private with protected, so the class can be easily extendedAndrey Andreev1-5/+5
2011-12-25Improve the Typography libraryAndrey Andreev1-58/+41
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-09-24Fixing the documentation link in the Typography library so that it's validGerry1-2/+2
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-18/+18
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-18/+18
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Changing all class constructors to __construct()Greg Aker1-8/+0
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-70/+70
2010-10-01tweak to typography. Better aesthetic to placement of paragraph tagsDerek Jones1-3/+15
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-07-18Added heading tags to skippable elements in the typography class- started as ↵Robin Sowell1-1/+1
1.6 EE bug fix- carried over.
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2009-01-15Fixed a bug when an opening quote is preceded by a paragraph tag and ↵Derek Jones1-4/+4
immediately followed by another tag.
2009-01-14adjustments to auto_typography() to handle beginning and end lines that ↵Derek Jones1-10/+21
contain, but do not start/finish with block level elements.
2008-12-11more accurate HTML comment restorationDerek Jones1-2/+5
2008-12-11fixed   cleanup preceding block elements, regex was using [] instead of ()Derek Jones1-2/+2
2008-12-11performance tweaksDerek Jones1-24/+35
2008-12-11various typography bugs, HTML comment parsing, <pre> parsing, more accurate ↵Derek Jones1-12/+29
block matching, etc.
2008-11-18Smart curly quotes! Spaces trump all, then worry about \W, you can't ↵Derek Jones1-13/+24
convert them all at once or either your opening or your ending (whichever you process first) is going to be too greedy.
2008-11-14switched order of parsing opening and closing curly quotes for greater accuracyDerek Jones1-3/+3
2008-11-14added some block level tag tracking so we can add inner block level elements ↵Derek Jones1-57/+25
when required
2008-11-13Changing EOL style to LFDerek Allard1-384/+384
2008-11-12Propset eol-style to CRLFDerek Jones1-385/+384
simplified paragraph tag cleanup regex
2008-11-05moved the newly added inline elements so the list would remain in ↵Derek Jones1-1/+1
alphabetical order, added corresponding changelog note
2008-11-05Oops... forgot to add "tt" as in inline elementRick Ellis1-1/+1
2008-11-05Finessed the code in a few places for better accuracyRick Ellis1-6/+53
2008-11-04added protection against non-breaking spaces within tagsDerek Jones1-2/+4
2008-10-29added protection for dashes so they aren't converted into emdashes in tagsDerek Jones1-3/+5
2008-10-27Fixed the regex matching that checks for user-submitted paragraph tags, it ↵Derek Jones1-9/+9
was incorrectly matching in cases like <p></p><blockquote><p> resulting in a removal of the paragraph tag from within the blockquote. also tweaked some looping code to make it a hair more efficient
2008-10-26Fixed some typosRick Ellis1-9/+2
2008-10-22Fixed a nexted <li> bugRick Ellis1-1/+4
2008-10-02added $protect_braced_quotes to Typography class, to prevent curly-quoting ↵Derek Jones1-1/+17
single and double quoted string within {curly "braces"}
2008-10-01Removed some errant spaces and tabsRick Ellis1-2/+2
2008-09-30moved object out of inline elements to the block elements and skip elements ↵Derek Jones1-3/+3
variables. Yes, I know it's technically an inline element, but it's common usage is as a block element, and the typography parser needs to know not to smash a bunch of paragraph tags and <br />s inside of it, regardless of how it's used
2008-09-27tweak tweak...Derek Jones1-1/+1
2008-09-27tweak of inline_element regex so that it doesn't hit partial matches, i.e. ↵Derek Jones1-2/+2
viewing <blockquote as <b
2008-09-26added check that content is surrounded by a valid block level element, and ↵Derek Jones1-0/+6
if not, wrapped in paragraph tags
2008-09-24fixed an issue where the last character before convert ... to an ellipsis ↵Derek Jones1-1/+1
was being dropped