summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
Commit message (Collapse)AuthorAge
* Revert "Only allow known protocols in RSS links"Andreas Gohr2011-06-14
| | | | | This reverts commit 1ca2719c7488662ebd7964c0d026e0890f923ee9 as it is now superseeded by a6b82e436e3d68a42a6556165d6aaf9249db44cd
* only allow configured URL schemes in external linksAndreas Gohr2011-06-14
| | | | | | | | | | | This fixes a problem where JavaScript could be introduced through specially crafted RSS feeds on a lower level than the commit from yesterday (1ca2719c7488662ebd7964c0d026e0890f923ee9) This also fixes a problem where JavaScript links could be introduced by specifying it as an RSS URL: the resulting error message displays a link to the broken feed URL. This patch makes sure there's no working link for unknown protocols.
* Only allow known protocols in RSS linksAndreas Gohr2011-06-13
| | | | | This fixes a security vulnerability where an attacker could introduce JavaScript links into wiki pages by including a prepared RSS feed.
* Change when metadata is rendered - only when really neededMichael Hamann2011-05-08
| | | | | | | | | | | | | | | | | | | | | | This changes the cache logic for metadata. It introduces a new mode that tries to avoid rendering the page again for simple requests but still updates the metadata when the page has been changed (but not when the cache timeout has been reached or purge is used). It simply compares the time of the last rendering with the last modified time of the page. The old boolean $render parameter has been changed into an int with three possible values. Compatibility for the old parameter is provided using a check with is_numeric using the following mapping: - false is still don't render (0 is the new value for that) - true is using that new render logic which means that many plugins will still work unchanged even if they request a lot of data using $render=true (1 is the new value for that providing full compatibility in the case 1 has been used instead of true) The default value for p_get_first_heading is now that new simple cache logic, the default value for getting metadata is the cache logic which should be used with care but is the only way to request (rendered) metadata that can change because of plugin installations or upgrades.
* Check if link exists and set right captionIzidor Matušov2011-04-08
|
* Revert "merged branch 'danny0838:rewrite_block' and resolved conflict"Andreas Gohr2011-02-06
| | | | | | | | | | | Anika's merge did not pul in the individual patches as one would expect. Then I messed up when trying to fix this by merging with danny's repo again but used the wrong branch. So we're still missing two patches. To have them apply cleanly I have to revert Anika's merge here. Another merge for the missing two patches will follow. This reverts commit b17e20ac9cca30b612968d02f06fa9c5df5c01f0.
* merged branch 'danny0838:rewrite_block' and resolved conflictAnika Henke2011-02-06
|
* removed obsolete references to 'JSnocheck' classAnika Henke2011-01-03
|
* 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.
* Improve compatibility of table instructions handlingAdrian Lang2010-10-12
|
* Fix table edit marker class element in XHTMLAdrian Lang2010-07-01
|
* added div around tables to make scrolling too wide ones in restrictive ↵Anika Henke2010-06-27
| | | | designs possible (FS#1980)
* FS#1915: strip one leading and one trailing newline from code content if ↵Gina Haeussge2010-06-26
| | | | available
* Do not parse URL params in internal links, just pass them throughAdrian Lang2010-06-23
|
* Make normal wikilinks work againAdrian Lang2010-06-17
|
* Allow URL params in internal links (FS#1967)Adrian Lang2010-06-17
|
* Really allow plugins to use section editingAdrian Lang2010-03-04
|
* Show last edit section button againAdrian Lang2010-03-01
|
* Use double quotes for XHTML attributesAdrian Lang2010-02-17
|
* Validate section edit dataAdrian Lang2010-02-15
|
* Hide secedit buttons without titleAdrian Lang2010-02-08
|
* Fix section editing killing next sectionAdrian Lang2010-02-08
|
* Rewrite section edit handling according to #1860Adrian Lang2010-02-04
|
* 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
* fixed double encoding when embedding flash through image syntaxAndreas Gohr2010-01-09
|
* fixed a bug of image links with relative mediaID FS#1775Kazutaka Miyasaka2009-11-15
| | | | | | Ignore-this: d1798348ca669a3471f33b501f6b1aa darcs-hash:20091115131328-9b77a-9f24277aba89ddc4c8dca30edacaeeb44f29e628.gz
* revert of rowspan impl. in xhtml.phphakan.sandell2009-11-04
| | | | darcs-hash:20091104202048-9a5f4-99f70c48dff6177d210cbcc729c83397ff3a3000.gz
* rowspan with ::: implemented in parser/handlerhakan.sandell2009-11-03
| | | | darcs-hash:20091103161002-9a5f4-2114938a7e62a924b9fe424b63584a4747286563.gz
* rowspan efficencyhakan.sandell2009-10-24
| | | | darcs-hash:20091024182612-9a5f4-756475dbae2bd70cd16f675a8ace155d260937a6.gz
* add rowspan support with :::hakan.sandell2009-10-24
| | | | darcs-hash:20091024180941-9a5f4-04b187ce36f7cb1c44c31ece3a2100e41b9170e6.gz
* Fix images in PHP 5.3 FS#1737Andreas Gohr2009-10-04
| | | | | | Ignore-this: 962f03953a4d1c87fe4b7394eab4f3b darcs-hash:20091004102249-7ad00-b4996e91841f3513cadf10ca81333bcfe548fd45.gz
* Use all available icons for file links (FS#1759)Tom N Harris2009-09-26
| | | | | | | | | All PNG and GIF images in the lib/images/fileicons directory will be used for media file links. The conf/mime.conf file continues to restrict which file types may be uploaded. File types not in the configuration list are download-only. darcs-hash:20090925231746-6942e-299a52772f67e265a8702bda3686f495e4337a8f.gz
* add icons to code block downloadsAndreas Gohr2009-09-20
| | | | | | Ignore-this: a9302ef2d646771934b76f7201b6fc9e darcs-hash:20090920173637-7ad00-012f1f953b1d173fb9f557daaf4f7c1fd90e4d07.gz
* fixed too strict trim (again) and missing class on code by indentingAnika Henke2009-08-02
| | | | darcs-hash:20090802120528-f7d6d-5731ec578ce2b6f154bc2dcd7aab150ddf683192.gz
* merge conflict resolveAndreas Gohr2009-07-26
| | | | | | Ignore-this: f902ad415663a4a1d9e43e0ccc808bbb darcs-hash:20090726180336-7ad00-fd881cbf4799dd42f53d324550d625bb91274bbe.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
* Avoid double encoding for RSS titles FS#1705Andreas Gohr2009-07-26
| | | | | | Ignore-this: 3e02f7f87047627230ff95fd4a38de32 darcs-hash:20090726114554-7ad00-4ad7f6e5c9a95eea352ab909a54798a5a773e9f1.gz
* make sure email addresses are correctly obfuscated FS#1722Andreas Gohr2009-07-25
| | | | | | Ignore-this: 49feffebb48bf10ce99e5d3bf3b4e2e7 darcs-hash:20090725115243-7ad00-12f5c856de534b555577f50666b44f724c760f93.gz
* fixed too strict trim on non-parsed blocksAnika Henke2009-07-16
| | | | darcs-hash:20090715233729-f7d6d-44fc39da1eb65d138e7987f90c613b10978652f8.gz
* removed purple numbersAnika Henke2009-05-25
| | | | darcs-hash:20090525194435-f7d6d-2def694a053f7e661f88f1636903283bad7c1fa8.gz
* .final (?) fix for purple numbersAnika Henke2009-05-06
| | | | darcs-hash:20090506204753-f7d6d-3b6717404d3b26a4201dd69c224a7c2d33a89732.gz
* fix for purple numbersAnika Henke2009-05-06
| | | | darcs-hash:20090506202433-f7d6d-71f011cb2bc7dce4456ae2f537f71889ccf21077.gz
* Purple Numbers (granular hierarchical IDs) - set $conf['purplenumbers'] and ↵Anika Henke2009-05-05
| | | | | | adjust your CSS darcs-hash:20090504222544-f7d6d-fd9e4c771c5aef32dc2927a1da4dfa4fc4f8b4f1.gz
* no H1 tags for empty headlinesAndreas Gohr2009-01-20
| | | | darcs-hash:20090120131508-6e07b-a3354fe34f9c54f06a968c6685a04955a8c5a94e.gz
* fixed display of local flash filesAndreas Gohr2009-01-17
| | | | darcs-hash:20090117194338-7ad00-47d9dd7534ae4005f6742f5572551a0cc7582683.gz
* 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