summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
Commit message (Collapse)AuthorAge
* makes minimum amount of headlines configurable that determines if the TOC is ↵Anika Henke2009-01-17
| | | | | | built (FS#1226) darcs-hash:20090116233507-f7d6d-aaff15652d2e698a4403b3386b5b1eb6c0fa38f3.gz
* new html_flashobject() function for simple and XHTML valid flash embedsAndreas Gohr2009-01-16
| | | | darcs-hash:20090116174140-7ad00-4eb1fe3269d10cb21819a5b220484b7114cbb4de.gz
* keep hashes for media files FS#673Andreas Gohr2009-01-12
| | | | darcs-hash:20090112200428-7ad00-d13671952bf807d338c8b31b7e0dbe77c077500e.gz
* fixed PHP4 incompatibility in sectionID() FS#1553Andreas Gohr2008-12-26
| | | | darcs-hash:20081226161244-7ad00-8c843ea6a06a0d36fc322d109497239ab6ea229c.gz
* removed some illogical path setupsAndreas Gohr2008-12-13
| | | | darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
* Make content-disposition configurable in mime.conf FS#1541Andreas Gohr2008-12-02
| | | | | | | | | | | | | With this patch it is possible to define if a file should be served as download or be displayed inside the browser (if supported) by configuring it in conf/mime.conf Mimetypes that should be served with a "Content-Disposition: attachment" header need to be prefixed with a exclamation mark. All others will be served inline. This will also fix a Problem with Flash 10. darcs-hash:20081202210322-7ad00-6e7ef30aff9322cd135311be77809187da121f3b.gz
* Better creation of section IDs FS#1536Andreas Gohr2008-12-01
| | | | | | | | This patch enhances the creation of section IDs for number only headlines. It also moves section ID creation to a function in pageutils.php removing some duplicate functionality in inc/action.php darcs-hash:20081201215539-7ad00-48f3c153a2c126d9fb06aa90e4f1b857f76ebec7.gz
* FS#630: allow $conf['useheading'] to individually apply to content links ↵Chris Smith2008-11-19
| | | | | | | | | | | | | | | | and/or navigation links $conf['useheading'] values are now: - 0 : off, use page name in link text - 'content' : use first heading text for links in wiki page content - 'navigation' : use first heading text for links in non-page content, e.g. breadcrumps, backlinks, search results, etc. - 1 : use first heading text in all links (for backwards compatibility, any other values are mapped to 0 or 1 by empty() function.) $conf['useheading'] value should now be checked using the useHeading($linktype) function, where linktype can be "content" or "navigation" darcs-hash:20081119140758-f07c6-6e26456d50dcecc949fada31b0d4e72877fde1cc.gz
* corrected cell counter class for tables with colspans FS#1506Andreas Gohr2008-10-16
| | | | darcs-hash:20081016193229-7ad00-ce6bba96dbce07cdea1e9567a3fce8c84c424d5b.gz
* ycatch space as email link text - againAnika Henke2008-10-12
| | | | darcs-hash:20081012194444-f7d6d-124f6788aaff8aedd72ffad5a6a99f6888459b59.gz
* ycatch space as email link text (FS#1374)Anika Henke2008-10-12
| | | | darcs-hash:20081012173735-f7d6d-a6a04ee3415c0b86748c8859fd02331bd23839f8.gz
* fix for FS#1305Michael Klier2008-10-11
| | | | darcs-hash:20081011190300-23886-3d5d5e2d1774a802ce9da841812a8838b2945d86.gz
* FS#1134 remove inline javascript from windows sharesMichael Klier2008-10-11
| | | | darcs-hash:20081011143946-23886-78628e3ca7ec0c40f5d288c6a9832cd52b8b083b.gz
* make linkonly parameter work for flash files FS#1472Andreas Gohr2008-10-11
| | | | darcs-hash:20081011144459-7ad00-58619ee91188127feb7c26a1d8d6b051c6981505.gz
* Fix for FS#172Gina Haeussge2008-10-11
| | | | darcs-hash:20081011122908-2b4f5-97f0279e58fb8f59bbff03a3c841aad6113e93f2.gz
* removed all occurrences of onkeypress (FS#1449)Anika Henke2008-07-20
| | | | darcs-hash:20080720110738-d5083-50a92498622bd6ca9850da8f9417974fb39ccc3d.gz
* Support RSS feeds that don't have item linksAndreas Gohr2008-05-06
| | | | darcs-hash:20080506210040-7ad00-b516a4fdfde5eab5b0e1773f834ef796af15a594.gz
* Fix for FS#1350Chris Smith2008-03-29
| | | | | | | | | | | | | Inline modes, <php> and <html>, when their associated config setting is off, will generate highlighted text wrapped in a <code> element. There is a slight change in behaviour for p_xhtml_cached_geshi(), it will now strip leading and trailing blank lines from the input code string. Also fixes an issue where global $conf wasn't declared, preventing the ['target']['extern'] setting being passed to GeSHi darcs-hash:20080329194443-f07c6-00db3d502b07a6ff0c7f6e5c74a3691438504bcb.gz
* another change in highlight handlingAndreas Gohr2008-03-10
| | | | | | | | | | Now higlighting phrases are passed as an array which then is quoted correctly when used in a regexp. This should make phrase highlighting work completely correct. Please everyone test it. darcs-hash:20080310214939-7ad00-1abefb02dde40edeead50b4fa5c866c46b95ca3a.gz
* fixed search result linking of pagenames which consist of numbers onlyMichael Klier2008-03-10
| | | | darcs-hash:20080310203620-23886-c6b6828f4cbd47cac4f904a25ca454403adef41c.gz
* fixed dates for aggregated RSSAndreas Gohr2008-02-27
| | | | darcs-hash:20080227215222-7ad00-6fc84f0d572490b4b6183602b8be7e6c61199aeb.gz
* Table Row And Col ClassesPierre Spring2008-02-23
| | | | | | This patch adds classes to the table rows and cells (td and th). This can be of usage when templating and within syntax plugins. darcs-hash:20080223175808-c3d3e-73384884597c56deac774a8a52cd20b639b3039b.gz
* renamed justlink option to linkonlyAndreas Gohr2008-02-23
| | | | darcs-hash:20080223101426-7ad00-ceacdc83e829f1da7aa272eb597277a8c78113be.gz
* media_justlinkPierre Spring2008-02-21
| | | | darcs-hash:20080221160833-c3d3e-1afe0835f9ba1af27712bd34e8b0b65e6165284f.gz
* fix for earlier phpok & htmlok pathChris Smith2008-02-14
| | | | darcs-hash:20080214113350-d26fc-3b3e46d9d5423a84c4288a18c1b83f972ca6bfa8.gz
* Rationalise Parser PHP & HTML syntax mode handling to renderer only.Chris Smith2008-02-13
| | | | | | | | | | | | | | This patch corrects the problems with the previously (reversed) patch "remove htmlok and phpok tests from Doku_Handler". The handler will now write php, phpblock, html & htmlblock instructions and let the renderer decide how these instructions should be processed. The xhtml renderer will follow the "phpok" and "htmlok" config settings. If these settings are turned off the any instructions will be rendered as code with php or html syntax highlighting (as appropriate). darcs-hash:20080213024941-d26fc-ec485362803e63a2d949dad5c23e17db939e6ced.gz
* use <sup> to markup footnote anchorsAndreas Gohr2008-01-19
| | | | | | | Using the <sup> HTML tag ensures that footnotes are shown correctly when displayed outside the DokuWiki stylesheet (eg. in feedreaders) darcs-hash:20080119010614-7ad00-59426b5e1d44f0ab932867e19e42b71f260f9cc9.gz
* add relAndreas Gohr2008-01-18
| | | | darcs-hash:20080118223507-7ad00-3cc83db3fac31917a50378646785a006a03825a2.gz
* Allow HTML from inline RSS (typo fix)Tom N Harris2007-10-16
| | | | darcs-hash:20071015225606-6942e-4945a9510445707655951b740f6302dfb97c655a.gz
* don't use realpath() anymore (FS#1261 and others)Andreas Gohr2007-09-30
| | | | | | | | | | | The use of realpath() to clean up relative file names caused some trouble in certain setups relying on symlinks or having restricitve file structure setups. This patch replaces all realpath() calls with a PHP only replacement which should solve those problems. darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
* TOC fixedAndreas Gohr2007-08-07
| | | | | | This fixes some small bugs which were introduced with recent TOC changes darcs-hash:20070807171844-7ad00-fc09dd6d09b72927e64dfa41dd8b86fc20d86ed0.gz
* minor fixes for recent tpl_toc() patchchris2007-08-05
| | | | darcs-hash:20070805163833-9b6ab-82e8cd7ec37d163ccb552e3b6aee8c1f70e75f15.gz
* separated TOC from pageAndreas Gohr2007-08-05
| | | | | | | | | | | | | | | | | | This patch introduces a tpl_toc() function which can be used to freely place the Table of Contents in a template. When used, tpl_content should be called with a parameter of false to supress the automatic TOC placement. Note: if tpl_toc() us run *before* tpl_content(), TOCs will not work in the preview. A work around is to run tpl_content() in a output buffer first. This patch also adds a getTOC() function for admin plugins which allows plugin authors to put create their own TOC which will be placed correctly in the template. A convenience function html_mktocitem() is available. The config manager was adjusted to make ue of this new feature, but some bugs might remain. darcs-hash:20070805132405-7ad00-77d2c3cdf66cc62b2d408cc6580f938636a109af.gz
* 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