summaryrefslogtreecommitdiffstats
path: root/system/libraries/Typography.php
AgeCommit message (Collapse)AuthorFilesLines
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
2008-09-24renamed $ignore_elements to $inline_elements, and made more robust by ↵Derek Jones1-3/+3
including all valid inline HTML elements
2008-09-24put all valid block level elements into $block_elements array, added table ↵Derek Jones1-3/+3
to tags with which <p> should not be directly contained within
2008-09-23Fixed a bug that was adding too many blank paragraph tags under certain ↵Rick Ellis1-6/+16
conditions
2008-09-13(no commit message)Rick Ellis1-0/+3
2008-09-13typography tweaksRick Ellis1-40/+17
2008-09-12Continued working on typography class and docsRick Ellis1-0/+34
2008-09-12(no commit message)Rick Ellis1-3/+10
2008-09-12(no commit message)Rick Ellis1-0/+8
2008-09-12More tweaksRick Ellis1-12/+18
2008-09-11more tweaks!Rick Ellis1-7/+8