This is an old revision of the document!
Table of Contents
HTMLOk Plugin
Compatible with DokuWiki
No compatibility info given!
Similar to htmlok
Installation
This is the HTMLOk plugin. Unfortunately as by this time the name “htmlok” has already been squatted for a competing plugin, I'm using the name “htmlokalt” for the Dokuwiki-side identifier instead, but the official name of this plugin is HTMLOk.
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
Once this plugin is installed and enabled as detailed below, old wikicode using <html>
tags should be working correctly.
Syntax
Basic syntax:
<html> some inline level HTML code </html> <HTML> some block level HTML code </HTML>
Configuration and Settings
To enable the plugin:
Since this plugin allows users to inject raw HTML into the wikicode of pages, it must be extra enabled explicitly. To do so, the admin of the wiki must enable and set to a value of 1
or higher the following two variables for the plugin in wiki config (eg.: in local.php
):
$conf['plugin']['htmlok']['use_sure'] $conf['plugin']['htmlok']['use_really_sure']
These variables are, at the moment, intentionally not exposed on the webui configuration.
Change Log
- Luis Machuca Bezzaza pushed to master at lmachucabezzaza0/dw-plugin-htmlok (2023-09-04 04:26)
- Luis Machuca Bezzaza commented on issue lmachucabezzaza0/dw-plugin-htmlok#2 (2023-09-04 04:21)
- fiwswe opened issue lmachucabezzaza0/dw-plugin-htmlok#2 (2023-07-14 17:44)
- Luis Machuca Bezzaza commented on issue lmachucabezzaza0/dw-plugin-htmlok#1 (2023-07-14 16:58)
- Luis Machuca Bezzaza pushed to master at lmachucabezzaza0/dw-plugin-htmlok (2023-07-13 23:08)
- Luis Machuca Bezzaza commented on issue lmachucabezzaza0/dw-plugin-htmlok#1 (2023-07-11 01:33)
- fiwswe commented on issue lmachucabezzaza0/dw-plugin-htmlok#1 (2023-07-10 23:22)
- Luis Machuca Bezzaza commented on issue lmachucabezzaza0/dw-plugin-htmlok#1 (2023-07-10 22:52)
Future Development
The following two features are planned to be added to the plugin at some point in the future:
- Enable inline level html and block level HTML separately.
- Allow the admin to invoke an external HTML sanitizer function.
Discussion
Issues can be raised at the issue tracker.