summaryrefslogtreecommitdiffstats
path: root/system/libraries/Typography.php
AgeCommit message (Collapse)AuthorFilesLines
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
2008-09-11(no commit message)Rick Ellis1-1/+1
2008-09-11Simplified the typography conversion routine... I hope I didn't break something.Rick Ellis1-131/+76
2008-09-11massaged regex for double spaces after sentencesDerek Jones1-1/+1
2008-09-11(no commit message)Rick Ellis1-2/+1
2008-09-11replaced format_characters()' logic replacement with a more straightforward ↵Derek Jones1-220/+38
and accurate regex replacement. The former handled some odd improper punctuation in a more predictable manner, but as a result failed to render many proper punctuation cases correctly. The new method is a good tradeoff, getting all "correct" punctuation rendered properly with better performance.
2008-09-11Added support for removing javascript event handlers from tags, for security ↵Rick Ellis1-4/+31
reasons
2008-09-11(no commit message)Rick Ellis1-0/+482