summaryrefslogtreecommitdiff
path: root/inc/parser/handler.php
Commit message (Collapse)AuthorAge
* Merge pull request #387 from splitbrain/tabletheadAndreas Gohr2014-03-24
|\ | | | | Adding <thead> to tables
| * implement rules for when the top rows of a table qualify for a THEAD elementChristopher Smith2014-03-16
| | | | | | | | | | | | 1. TD < 2 in a row 2. TD <= 50% of total cells 3. Not all table rows can be THEAD rows
| * Merge branch 'master' into tabletheadChristopher Smith2014-03-12
| |\
| * | add <THEAD> to top rows of tables when all cells are <TH>Christopher Smith2013-10-18
| | |
| * | Wrap thead around 1st row, when 1st cell at 1st row is tableheader. ↵Gerrit Uitslag2013-10-17
| | | | | | | | | | | | Implements FS#1764
* | | improvements to double quote matchingChristopher Smith2014-03-13
| |/ |/|
* | initialize $inParagraph before useChristopher Smith2013-10-16
| |
* | replace boolean conditional checks on possibly uninitialized vars with ↵Christopher Smith2013-10-16
| | | | | | | | \!empty/empty/isset as appropriate
* | fix php strict noticesGerrit Uitslag2013-10-15
|/
* Merge pull request #344 from splitbrain/tablewithonlyrowspanAndreas Gohr2013-10-13
|\ | | | | Display tablecell with rowspan at first row as empty cell. Fixes FS#2810
| * Display tablecell with rowspan at first row as empty cell. Fixes FS#2810Gerrit Uitslag2013-09-20
| |
* | Fix CodeSniffer whitespace violoationsMatt Perry2013-09-10
|/ | | | | Removed extraneous whitespace to eliminate errors reported by the Squiz.WhiteSpace.SuperfluousWhitespace sniff.
* Fix CodeSniffer violations for PHP filesMatt Perry2013-08-23
| | | | Fix violations for Generic.PHP.LowerCaseConstant.Found
* Fix CodeSniffer violationsMatt Perry2013-08-22
| | | | Change indentation to ensure code confirms to CodeSniffer rules.
* apply media_isexternalKlap-in2013-05-21
|
* replace unset with array_popAndreas Gohr2011-10-15
| | | | | unset does not reset the Array's internal pointer which messes up later calls. array_pop is still much faster than array_splice
* fix off-by-one errorAndreas Gohr2011-10-15
|
* added the missing bit to my last commitAndreas Gohr2011-10-15
|
* Fix performance issue in close_paragraphAndreas Gohr2011-10-15
| | | | Looks like a for loop is faster than array_splice
* cleanup of handler.phpAndreas Gohr2011-10-15
| | | | The file contained a few DOS lineendings and trailing spaces
* Merge remote branch 'danny0838/rewrite_block' into dannyAndreas Gohr2011-02-06
|\
| * Major rework of rewrite block in handler.php. (FS#2145)Danny Lin2011-01-26
| | | | | | | | | | | | -Simplify the algorithm. May improve performance. -Treat footnote as pure block and section as pure stack. -Remove post-p-open and pre-p-close linefeeds. Affects the effect of xbr plugin.
| * First attempt to improve rewrite blocks; also eliminates post-paragraph ↵Danny Lin2011-01-26
| | | | | | | | starting single linebreaks.
* | FS#2154 unset call writers in finalise() to prevent circular referencesChristopher Smith2011-02-06
|/ | | | and help PHP garbage collection for PHP < 5.3
* Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3Michael Hamann2010-11-29
| | | | | | As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
* more relaxed recognition of windows share links FS#1991Andreas Gohr2010-10-02
|
* #1797 fix ptype stack to properly close and reopen <p> elementsChristopher Smith2010-09-18
|
* Try to fix broken tablesAdrian Lang2010-08-13
|
* clean up table parser handlerAdrian Lang2010-08-13
|
* Better code syntax parsing, less E_NOTICEAdrian Lang2010-03-26
|
* Rewrite section edit handling according to #1860Adrian Lang2010-02-04
|
* table: Remove redundant parser data, update testsAdrian Lang2010-01-29
|
* Add TABLE range marker for table editingAdrian Lang2010-01-19
| | | | darcs-hash:20091119140619-e4919-15efddc768526a6c1f6472f83ede17019144ffa3.gz
* removed deprecated PHP4 constructAndreas Gohr2010-01-15
| | | | | Assigning the return value of new by reference is deprecated, PHP5's new automatically assigns by reference
* fix footnote tests (includes hack to counter #1652, #1699 fix)Chris Smith2009-12-01
| | | | | | Ignore-this: c5a934d8bce1c2b5953632bedd0c4f64 darcs-hash:20091201205426-f07c6-e21cbc5f84a8702f074069eae3cab1aa4bdb50ea.gz
* inc/handler cleanup removed Doku_Handler_Section classhakan.sandell2009-11-03
| | | | darcs-hash:20091103165100-9a5f4-b992cc4b716134f750ffffa678694b7ba05c541a.gz
* rowspan with ::: implemented in parser/handlerhakan.sandell2009-11-03
| | | | darcs-hash:20091103161002-9a5f4-2114938a7e62a924b9fe424b63584a4747286563.gz
* Align an empty cell left instead of rightAdrian Lang2009-11-03
| | | | darcs-hash:20091103130556-e4919-f9045f6018952f2b02a699d18746a330526a4dbe.gz
* Whitespace cleanup FS#1709furun2009-10-16
| | | | | | Ignore-this: 27ea52110bce929b2c61ed8faba67cfc darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
* FS#1652, #FS1699Chris Smith2009-10-04
| | | | | | | | | | | | | Ignore-this: b30b4a3061ad7a485012f6fd55cdfc78 This patch fixes problems with blank lines which contain whitespace before EOL. It also fixes an issue with preformatted syntax mode not triggering following p_open instructions under some circumstances. Note: The fix can result in swallowing of non-eol white space that precedes the EOL. This can happen when there is no non-whitespace CDATA between the end of the previous syntax mode and the EOL character. darcs-hash:20091004190359-f07c6-36bb418cb9be8bbaff741b4cbe135c442d0bde81.gz
* enhanced <code> and <file> syntaxAndreas Gohr2009-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore-this: 80398f84222bec1fce56eee8f107d37a This patch enhances the code and file syntax with several new features. 1. code and file are now essentially the same and just differ in the class name. This means you now can use the file syntax with syntax highlighting as well. This also solves problems where the code to highlight already contains a <code> tag (FS#1493) 2. a filename can be given as label for the code or file block. It is specified as second parameter after the language: <code html myfile.html>...</code> If no highlighting is wanted, but a filename shall be given, you can use a dash as language: <code - somefile.foo>...</code> 3. when a filename was given (as shown above), the label links to a download of the code given in the code/file block. This is made possible by a new renderer in inc/parser/code.php. The basename of given filename is suggested as filename when downloading. darcs-hash:20090726175158-7ad00-969641a06ae1393a6d99207c3cd938fb67f23a71.gz
* Change expensive uses of split to the much faster explode.Tom N Harris2009-05-28
| | | | darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz
* removed some illogical path setupsAndreas Gohr2008-12-13
| | | | darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
* parser: put match on the call stackpierre.spring2008-10-22
| | | | darcs-hash:20081022140209-c07ef-c4d27f3c581ee6ee7cedb886f9e5b2675503b817.gz
* syntax plugin match getter and setterpierre.spring2008-08-29
| | | | darcs-hash:20080829125828-c07ef-b27cbac1f23e313572952ea8f1172fbd88f60493.gz
* Allow syntax plugin handle() function to return false to indicate do not ↵Chris Smith2008-08-13
| | | | | | create plugin render instruction darcs-hash:20080813125334-f07c6-dc93aefae6f027152a7bded7f0dacc814d041566.gz
* allow numbers in interwiki descriptors FS#1358Andreas Gohr2008-03-25
| | | | darcs-hash:20080325185208-7ad00-d5181f3d82f89f6ed1d4ca9068db4123df8d443b.gz
* update preformatted syntax mode to ignore entire blocks of white spaceChris Smith2008-03-13
| | | | | | | | | | This patch only updates the actual "preformatted" syntax mode, that is only preformatted blocks caused by leading blanks on a line. If the entire block is empty, it is ignored. ie. if a block of preformatted text has leading or trailing empty lines and some non-empty lines, the leading and trailing content are preserved. darcs-hash:20080313203950-f07c6-9d0745b157e45b61b06ff0c7d85bec8558946c1e.gz
* change line-break replacement character to '\n'Chris Smith2008-03-12
| | | | | | | | | | | | | | | | | This patch is the third in a series aimed at making it easier for DW to allow plugins to modify the standard handling of line-breaks. It effectively leaves the new-line character '\n' in the 'cdata' instruction allowing the renderer to process the character as it chooses. No changes have been made to the renderers. This change is neutral to xhtml renderers as xhtml treats spaces and new-lines identically (as white-space). Writers of renderer plugins are advised to check their plugin against the new patch. darcs-hash:20080312000924-f07c6-a6dab2d16c7bc42e9dc8eb137648c6f984b4f2e6.gz
* Update handler to merge consecutive 'cdata' instructions (incl. test case ↵Chris Smith2008-03-12
| | | | | | | | | | | | | updates) This patch is the second in the series designed to make it easier for DW to allow plugins to modify the standard handling of line-breaks. Like the first this patch doesn't alter line-break behaviour at all, but introduces improvements that reduce to a minimum the number of 'cdata' instructions generated by the handler. darcs-hash:20080312000248-f07c6-f6ce1b5aac43a52cbe31215c517b048679ae20a7.gz