summaryrefslogtreecommitdiff
path: root/inc/parser
Commit message (Collapse)AuthorAge
* UNDO: remove htmlok and phpok tests from Doku_HandlerSpring Pierre2008-01-17
| | | | | | | | | there is no necessity for the "htmlok" and "phpok" testing in the Doku_Handler, taken the fact that the page renderer does it too. and it gives the possibility to the renderer to choose, what to do with such blocks. darcs-hash:20080117222648-01292-c4b5a890ada5e5e962ba7e3f62c4c2fc5d72138f.gz
* remove htmlok and phpok tests from Doku_HandlerSpring Pierre2008-01-17
| | | | | | | | | there is no necessity for the "htmlok" and "phpok" testing in the Doku_Handler, taken the fact that the page renderer does it too. and it gives the possibility to the renderer to choose, what to do with such blocks. darcs-hash:20080117222648-01292-cfce862d4e6fe9ce61feda7d6f11f014a68f5ffa.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
* prevent error on buggy syntax plugin FS#1218Andreas Gohr2008-01-19
| | | | darcs-hash:20080118234120-7ad00-01defe99eda2568ef91acc679a35b25e8bdc40ed.gz
* correct UTF-8 trimming of abstracts in metarenderer FS#1233Andreas Gohr2008-01-18
| | | | darcs-hash:20080118224834-7ad00-bda8d919c3fdf4bafe8509dca35aa437b38e1ac6.gz
* add relAndreas Gohr2008-01-18
| | | | darcs-hash:20080118223507-7ad00-3cc83db3fac31917a50378646785a006a03825a2.gz
* try to warn about pcre.backtrack_limit errors FS#1258Andreas Gohr2008-01-18
| | | | darcs-hash:20080118214138-7ad00-86962cd0413db95ea19383c4579b3240ad3c4301.gz
* parenthesis_escaper_fixstephane.chazelas2008-01-04
| | | | darcs-hash:20080104145301-3d17c-6ba186de4a2661f7d4f6b080e4cf74fed9ae1904.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
* Fix not checking capture in metadata rendererTom N Harris2007-09-25
| | | | darcs-hash:20070925201030-6942e-7c2ac56c877cb6772d500b2391ddc490dc6fdec5.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
* some more tweaks to the smart quote parserAndreas Gohr2007-06-26
| | | | | | | Now all test cases succeed, but there is probably still trouble with certain conditions. darcs-hash:20070626181735-7ad00-dd6e51e37cda7ca63077a2779afe1753ad975f84.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
* make typography option three staged FS#1142Andreas Gohr2007-06-13
| | | | | | | | | | | | | | | | Because correct smart quote parsing with regular expressions is nearly impossible, especially when dealing with quote usage in languages different from english, the typography configuration option was changed. 0 means to completely disable any typography replacements 1 will only handle the multiply entitity and double quotes, this should nearly always work without problems and is the new default 2 will add singlequote parsing. This might break because single quotes and apostrophes are not always easily distinguishable. Especially in languages where single quote openings and apostrophes are different characters you might experience problems. For english it should nearly always work. darcs-hash:20070613184015-7ad00-0cebc3f807f54467d54458075c5c9f651355c5ba.gz
* some small improvement for smart quote parsing FS#1142Andreas Gohr2007-06-13
| | | | darcs-hash:20070613173817-7ad00-99fdc0bf868bff124ef7c5ec01ef3f58c51b36eb.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
* skip images in links for metadata rendererAndreas Gohr2007-03-02
| | | | darcs-hash:20070302102035-7ad00-65b1bcf0140b1aa434dc321b8e84b614f9b65e2f.gz
* Fix namespace links and titles (FS 1005, 1006)Guy Brand2007-02-17
| | | | darcs-hash:20070217220746-19e2d-76c857902d24301707eb783ced96f25c00526659.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
* do preconnects only once #1067Stephane Chazelas2007-02-06
| | | | darcs-hash:20070206191629-64c10-6607d7e7e724315b728e8c46a0b2ff6e7e8ab2f6.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
* create an addPluginCall() method for the handlerchris2007-01-25
| | | | | | | | | | refactor plugin() method to use new function this provides an interface for plugins to write their own instructions directly when returning a single instruction is not sufficient and saves plugin authors from hacking the handler's calls stack darcs-hash:20070125144103-9b6ab-3df781ec7fd1c4e75ac198139581cd2759c91052.gz
* improve and centralise email regexp, fixes FS#1049chris2007-01-25
| | | | darcs-hash:20070125143421-9b6ab-93ce6bfd804924af4651da9424738494f11fe5f2.gz
* fixed broken table alignmentAndreas Gohr2007-01-24
| | | | darcs-hash:20070124201255-7ad00-532c5d1ddc4d24aab980ff2cf6f521b051c73be2.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
* Renderer now inherits from Doku_PluginAndreas Gohr2007-01-20
| | | | | | This makes typical plugin functions available to render plugins. darcs-hash:20070119234945-7ad00-2ecc67ca68c85cfdd67718d147587f2f5ecb317a.gz
* added missing functions to renderer base classAndreas Gohr2007-01-15
| | | | darcs-hash:20070115201107-7ad00-a393183d8bc36296678f3f76adc43b5d5bec35a1.gz
* readded two changes from recent rollbackAndreas Gohr2007-01-06
| | | | darcs-hash:20070106111209-7ad00-2f632e44c6062d0c428269feb4276e83124eedad.gz
* UNDO: regex_simpler.patchhenning.noren2007-01-04
| | | | | | Replaces some simple regular expressions with standard (faster) string functions darcs-hash:20070104194953-d2a3e-8fd0c89812277467c5bce566dfc3fba6ce1c3981.gz
* regex_simpler.patchhenning.noren2007-01-04
| | | | | | Replaces some simple regular expressions with standard (faster) string functions darcs-hash:20070104194953-d2a3e-0b06e7a599a0177ad37a54497074893572e1cae2.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