summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
Commit message (Collapse)AuthorAge
...
* SimplePie upgrade to 1.0Andreas Gohr2007-07-19
| | | | darcs-hash:20070719080638-7ad00-5b69a4e568291a2e2479a7a09743be3157a7d114.gz
* improved feed creationAndreas Gohr2007-07-11
| | | | | | | | | The feed now can export diff views (unified and HTML) as well as full HTML page content. Some things might be broken. Everybody please test it! darcs-hash:20070711213624-7ad00-49359417127fdbd6e31374738509110271b6b351.gz
* deleted unnecessary htmlok+phpok checksAnika Henke2007-05-18
| | | | darcs-hash:20070517234228-d5083-9a00c354c88dc59ca314ae31baebc612e6577174.gz
* added block mode for embedded html+php (FS#541) -- same syntax but in ↵Anika Henke2007-05-18
| | | | | | capital letters (<HTML>+<PHP>) darcs-hash:20070517233213-d5083-9dbccf77383575912ad75533ca690302557e0f79.gz
* fixed problem with #section added to all linksAndreas Gohr2007-06-25
| | | | darcs-hash:20070625204256-7ad00-928a9544d9a5f161bd2b445f49dfc5be22703153.gz
* fix for colons in fragment identifiers FS#1062Andreas Gohr2007-06-23
| | | | darcs-hash:20070623142008-7ad00-fe29449145bb0f41d28b26d088c9017545775d74.gz
* Verbose errors for failed feed fetchingAndreas Gohr2007-06-18
| | | | | | | When the allowdebug option is set, the error message generated by the feed parser will be put in an HTML comment. darcs-hash:20070618172904-7ad00-729b99d76df499890ded3f43b708196de9ff8cbe.gz
* correct javascript escape for languagestring in windows share links FS#1147Andreas Gohr2007-06-13
| | | | | | This piece of code should be replaced by some unobstrusive code in the future darcs-hash:20070613193351-7ad00-ce797a00e945f902e2fb309b83ffca988c2fb7e6.gz
* fixed copy'n'paste error for previous apostrophe fixAndreas Gohr2007-05-13
| | | | darcs-hash:20070513114356-7ad00-9908fbead71a836679e884cf8225c20dcf14ce85.gz
* distinction between apostrophes and single quotes FS#1127Andreas Gohr2007-05-13
| | | | | | | | | | This patch adds another parser mode for apostrophes. Now single quote closing markers are handled different from apostrophes for better local typograpy support. Needs testing and languages updates. darcs-hash:20070513084024-7ad00-d20fe093a093c265d357b178e199c1596b484996.gz
* fix for missing alt attribute for captionless JPEGs FS#1126Andreas Gohr2007-05-04
| | | | darcs-hash:20070504184441-7ad00-47c6f91236a21ed3dbd0b12e4ec0e9c2d717f340.gz
* added getFormat() function to rendererAndreas Gohr2007-03-03
| | | | | | | | | | | Each renderer has to supply a getFormat() function returning the format it produces. Usually this is the same as the classname of the renderer (or Plugin) says but it does not need to be necessarily. Fixes a problem with the wrong format being reported to plugins when a render plugin was used. darcs-hash:20070303214102-7ad00-3f87d8a10e94f4c6c30bacc8f43486b94ecdb146.gz
* language-specific quotation marks (FS#438)Anika Henke2007-02-11
| | | | darcs-hash:20070211172015-d5083-2cab923b001391012a0a469746438d4d4087a718.gz
* compatibility fix for the recent render_TOC changeAndreas Gohr2007-02-08
| | | | | | | | render_TOC now behaves like before when called non-statically without an argument Fixes a problem in the config manager and probably other plugins using the function as well darcs-hash:20070208195457-7ad00-c84f60278e3917c31d2f915ad55f296f858b30c4.gz
* give xhtml renderer method _xmlEntities standard parameter valueschris2007-02-06
| | | | darcs-hash:20070206021203-9b6ab-f580959f2177cecf4460ba55db016bb11cd111cc.gz
* refactor xhtml TOC creation into a class function, FS#1058chris2007-02-06
| | | | | | | | | | | | | - changed inc/parser/xhtml.php, render_TOC() function it now takes a toc array as a parameter - refactor render_TOC() and _tocitem() into static class functions The xhtml renderer can build its TOC using $this->render_TOC($this->toc) Templates can create a separate TOC using echo Doku_Renderer_xhtml::render_TOC(p_get_metadata($ID, 'description tableofcontents')); darcs-hash:20070206015454-9b6ab-b3bd7ff772b756f8aaf496cb319eb73994cdbd94.gz
* refactor renderer header() to separate out adding toc itemschris2007-02-06
| | | | | | | | | | adds a new render method toc_additem($id, $text, $level) This allows toc items to be added separately from the header() function, allowing plugins to generate their own table of content items without having to copy dw core code (which may in the future change). darcs-hash:20070206014821-9b6ab-218184e543f6b348e710acc2fe30a8ec329c66a8.gz
* fix FS#1010chris2007-01-26
| | | | darcs-hash:20070126204145-9b6ab-db7eba9c6045584a381eb83ae48787627973532b.gz
* moved interwiki resolve logic to base renderer classAndreas Gohr2007-01-24
| | | | darcs-hash:20070124111438-6e07b-7d3e534aa7eff56821bf94232fea7711c5881719.gz
* moved simple URL handling from renderer to handlerAndreas Gohr2007-01-24
| | | | darcs-hash:20070124101306-6e07b-f3b325915c5b379c5ec8ae3bcf21943be1942e83.gz
* move title function to base rendererAndreas Gohr2007-01-23
| | | | darcs-hash:20070123083854-7ad00-b2a6723121ed82076a04c5956ecdbf22ec5aede7.gz
* tf_rename_lower.patchhenning.noren2007-01-03
| | | | | | | Name the TRUE/FALSE-constants consistently as lowercase everywhere. This might also be an tiny optimization in some environments. darcs-hash:20070103205700-d2a3e-e7ec0aedb938d563f583116a2d5b17f3a3fea36c.gz
* fixed display for file links with empty title #996Andreas Gohr2006-12-02
| | | | darcs-hash:20061202164826-7ad00-279df5b15e663daf8a1a6c170d644b51fbc4e005.gz
* obfuscate email address when it is used in mailto links (bug#977)chris2006-11-13
| | | | | | | This patch applies when no alternate link text is supplied and the actual email address would be used as the link text. darcs-hash:20061113124108-9b6ab-bd8109100b9305a1a04964d226c779aa320df64c.gz
* DOMlib removedAndreas Gohr2006-11-10
| | | | | | | | | | | | | | | | The DOMlib javascript library was removed. It was only used for footnote tooltips and access key fixup. Removing the library creates a much smaller JavaScript footprint. The size of the compacted non-edit Javascript output was reduces from 56110 bytes down to 29296 bytes. The footnote tooltip was completely rewritten and tested in FireFox 2.0, IE 6 and Opera 9.02. Please test other browsers as well. The acces key fixup might beahve different now on Mac platforms. darcs-hash:20061110201541-7ad00-0dffad095193bc7e7c505796a99b0a0a010a6b0d.gz
* fixed images in email linksAndreas Gohr2006-10-08
| | | | darcs-hash:20061008074029-7ad00-8457873dd8ad2f5a36dc8f44eca42a4378e61e93.gz
* cache, metadata & purgefile updateschris2006-09-24
| | | | | | | | | | | | | | | | | | | Cache - add dependency for metadata renderer file - check metadata for end of page life, "date valid end". Metadata Renderer - RSS syntax mode now sets rendered page expiry, "date valid end" and includes the feed URL in "relation haspart". Purgefile For all wiki installations the purgefile records the earliest time before which no cache purge (based on data consistency) is required. Cache files older than this time MAY need to be purged. - remove purgeonadd configuration setting darcs-hash:20060924202157-9b6ab-4531e91411c41914eeab2b6a8160c3d46b001cee.gz
* fix for reversed RSS feeds #918Andreas Gohr2006-09-24
| | | | darcs-hash:20060924101329-7ad00-acff05b813c58ac7ddb98385c9970800af7aca6b.gz
* minor bugfix and boring error removalchris2006-09-23
| | | | darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
* removed superfluous <br /> after inline tablesAnika Henke2006-09-03
| | | | darcs-hash:20060903193759-d5083-276d7cb9622d9a009de2aedca8bfba880c3ffbdd.gz
* no forcing of ASCII in section IDsAndreas Gohr2006-08-25
| | | | | | | XHTML allows non-ASCII chars in ids and names, so there is no need to forcibly romanize section header ids darcs-hash:20060825173653-7ad00-f982cec893cc2d0f1b2de4226879d7d2b294ac76.gz
* strip trailing line in higlighted codeAndreas Gohr2006-07-30
| | | | | | | | | | The current code add 2 unwanted trailing lines in highlighted code. One is produced by DokuWiki's syntax and is fixed by this patch. The second one is created somewhere inside GeShi. A bug report was submitted upatream [1] [1] http://sourceforge.net/tracker/index.php?funcÞtail&aid31373&group_id4997&atidg0231 darcs-hash:20060730201442-7ad00-222a23a3bfccd7c53105e7175cdc9992be2d8076.gz
* Provide a fragment cache for GeSHi outputchris2006-07-29
| | | | darcs-hash:20060728225649-9b6ab-124a5511574bd9955f56d0426586f877b9ec66c8.gz
* fixing undefined variablesBen Coburn2006-07-10
| | | | | | | Fixing undefined variable notices and sometimes the underlying error that produced them. darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
* error reporting E_ALL switchBen Coburn2006-07-08
| | | | | | | | | | | - Adds a constant DOKU_E_LEVEL for globally overriding the error reporting level. - Adds a file based switch for enabling E_ALL errors without changing the code. This is convenient for developers debugging new patches. It also ensures that the new patch will not accidentally record manual changes to the error reporting level. To enable E_ALL errors globally, create the file 'conf/report_e_all'. darcs-hash:20060707232525-05dcb-0f24e53783f546a83268fe40b0d8b68f4d6ccfa6.gz
* create correct titles for namespace linksAndreas Gohr2006-06-17
| | | | | | Second part of the global start patch series :-) darcs-hash:20060617111153-7ad00-1422551ec64ac84f473a8a5f3adb9cb332bb3f06.gz
* Updated SimplePie to beta2Andreas Gohr2006-06-07
| | | | darcs-hash:20060607203012-7ad00-39f08d985ed975b9eb521aaa1f7d3d315b5e6588.gz
* decouple section edit from header in rendererBen Coburn2006-05-22
| | | | | | | | | | | | | | | | | | | | This patch achieves a partial decoupling of the section edit buttons from the header syntax. A new 'section_edit' instruction is added to the instruction list. The default set of these instructions is generated from the header handler and the _finalize function. A generic 'section_edit' renderer is now part of the renderer. To rewrite the section semantics, add, or remove section edit buttons the header handler and renderer no longer need to be modified. Changes can be dynamically made to the section edit buttons through the 'PARSER_HANDLER_DONE' action event. An action plugin that registers this event can then modify the calls list of the handler object before it is rendered. In short, this patch makes it possible to change the behavior of the section edit buttons without having to change unrelated code. This patch should be entirely transparent to DokuWiki users and cleanly written plugins. darcs-hash:20060522060004-05dcb-8e6b5215e1b610877f126ca0b9e1e5bc21cc6469.gz
* metadata hnalding updates, header fixesAndreas Gohr2006-05-07
| | | | | | | | This removes the meta instruction again in favour of the new meta renderer. Most tests work now again, a few tweaks were done on the header handler to render certain headers as it did in earlier versions. darcs-hash:20060507153113-7ad00-bd299fbe1762482c72d109f9bca776f12bcea7c8.gz
* feed aggregation revampedAndreas Gohr2006-04-14
| | | | | | Feeds are now parsed with SimplePie. The feed syntax was enhanced darcs-hash:20060414110047-7ad00-6dd4b96845baab8683a2f837d6ad6fcb2fd53131.gz
* Parser Update:chris2006-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - revisions to header class and section handling header pattern simplified header class now writes section open and close instructions section call writer removed check for and update meta['first_header'] if required (see below) - meta instruction added written by _finalize to front of instruction stack holds first header information plugins can now write first header information, or other page meta information to this data structure. - get_first_heading updated to make use of meta['first_header'] - plugin instruction structure changed to include lexer state in the data portion of the instruction. OLD INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$pos), $pos) NEW INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$state), $pos) - block handler/call writer update to better handle plugin PTypes 'block' & 'stack'. Lexer states are mapped as follows: DOKU_LEXER_ENTER, DOKU_LEXER_SPECIAL : block_open, stack_open DOKU_LEXER_EXIT, DOKU_LEXER_SPECIAL : block_close, stack_close DOKU_LEXER_MATCHED, DOKU_LEXER_UNMATCHED : plugin must handle <p> Plugin writers can now use these PTypes as intended ! darcs-hash:20060409214958-9b6ab-cd2cef97a6a2521e3a02175075b8ff4648035f69.gz
* xhtml.php fix for recent <p>..</p> removal regexchris2006-03-14
| | | | darcs-hash:20060314152807-9b6ab-55f44121650def9bdc8dc00f30876baed1b37f9a.gz
* empty paragraph fixup for XHTML rendererAndreas Gohr2006-03-11
| | | | | | as discussed on the mailinglist darcs-hash:20060311201015-7ad00-2eef847a38e711411be8fbac41c5a2cc7328886f.gz
* Fix toc indentation for toptoclevel > 1jan2006-03-10
| | | | darcs-hash:20060310155752-45605-05a5e1641c314edb38a46d4d6f1145ad62e932a1.gz
* small patch for unique idsAndreas Gohr2006-03-02
| | | | darcs-hash:20060302135001-6e07b-61d47e4a3438d14aef16772a04a3bbfd07e91e0d.gz
* fixed Call to undefined function: html_buildlist in the feedAndreas Gohr2006-02-28
| | | | darcs-hash:20060228210711-7ad00-316b48e7a541446e9778368b8d72fc5c11da16fd.gz
* changed IDs to avoid name clashesAndreas Gohr2006-02-26
| | | | darcs-hash:20060226172332-7ad00-f073117ba2f027935f87cf23106bf6a4316a5790.gz
* removed deprecated TOC codeAndreas Gohr2006-02-24
| | | | darcs-hash:20060224151221-7ad00-314d411cb22d2cd59079751f31cf4b4c49a7f0b6.gz
* endless loop fixed #727Andreas Gohr2006-02-23
| | | | darcs-hash:20060223205726-7ad00-9f68c6bb78a495b1a3b67835927a9d5452d05945.gz
* some TOC fixesAndreas Gohr2006-02-19
| | | | darcs-hash:20060219164726-7ad00-eb637e1db83e2f3b6c3629da18214b6587590b24.gz