CINXE.COM
plugin:htmlok [DokuWiki]
<!DOCTYPE html> <html lang="en" dir="ltr" class="no-js"> <head> <meta charset="utf-8" /> <title>plugin:htmlok [DokuWiki]</title> <meta name="generator" content="DokuWiki"/> <meta name="theme-color" content="#008800"/> <meta name="robots" content="index,follow"/> <meta name="keywords" content="plugin,htmlok"/> <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="DokuWiki"/> <link rel="start" href="/"/> <link rel="contents" href="/plugin:htmlok?do=index" title="Sitemap"/> <link rel="manifest" href="/lib/exe/manifest.php"/> <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed.php"/> <link rel="alternate" type="application/rss+xml" title="Current namespace" href="/feed.php?mode=list&ns=plugin"/> <link rel="edit" title="Edit this page" href="/plugin:htmlok?do=edit"/> <link rel="alternate" type="text/html" title="Plain HTML" href="/_export/xhtml/plugin:htmlok"/> <link rel="alternate" type="text/plain" title="Wiki Markup" href="/_export/raw/plugin:htmlok"/> <link rel="canonical" href="https://www.dokuwiki.org/plugin:htmlok"/> <link rel="stylesheet" href="/lib/exe/css.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e"/> <script >var NS='plugin';var JSINFO = {"plugins":{"edittable":{"default columnwidth":""}},"id":"plugin:htmlok","namespace":"plugin","ACT":"show","useHeadingNavigation":0,"useHeadingContent":0};(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.4/jquery.min.js" defer="defer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js" defer="defer"></script> <script src="/lib/exe/js.php?t=dokuwiki&tseed=f1005bad3d81fc9c803c7f93d32a390e&lang=en" defer="defer"></script> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="shortcut icon" href="/lib/tpl/dokuwiki/images/favicon.ico" /> <link rel="apple-touch-icon" href="/lib/tpl/dokuwiki/images/apple-touch-icon.png" /> <meta name="verify-v1" content="OVxl3gsCv2MhZqh1cBQyl0JytWXSwXMjyvwc+4w3WtA=" /> <meta name="google-site-verification" content="YhTVK69hW94ZXUtc2zSLPxTkZKbZIn0zK67mz5WQB-E" /> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-83791-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-83791-1', { 'anonymize_ip': true }); </script> </head> <body> <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_show tpl_dokuwiki showSidebar hasSidebar"> <!-- ********** HEADER ********** --> <header id="dokuwiki__header"><div class="pad group"> <div class="headings group"> <ul class="a11y skip"> <li><a href="#dokuwiki__content">skip to content</a></li> </ul> <h1 class="logo"><a href="/start" accesskey="h" title="Home [h]"><img src="/lib/tpl/dokuwiki/images/logo.png" width="64" height="64" alt="" /><span>DokuWiki</span></a></h1> <p class="claim">It's better when it's simple</p> </div> <div class="tools group"> <!-- USER TOOLS --> <div id="dokuwiki__usertools"> <h3 class="a11y">User Tools</h3> <ul> <li class="action login"><a href="/plugin:htmlok?do=login&sectok=" title="Log In" rel="nofollow"><span>Log In</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 17.25V14H3v-4h7V6.75L15.25 12 10 17.25M8 2h9a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-4h2v4h9V4H8v4H6V4a2 2 0 0 1 2-2z"/></svg></a></li> </ul> </div> <!-- SITE TOOLS --> <div id="dokuwiki__sitetools"> <h3 class="a11y">Site Tools</h3> <form action="/start" method="get" role="search" class="search doku_form" id="dw__search" accept-charset="utf-8"><input type="hidden" name="do" value="search" /><input type="hidden" name="id" value="plugin:htmlok" /><div class="no"><input name="q" type="text" class="edit" title="[F]" accesskey="f" placeholder="Search" autocomplete="on" id="qsearch__in" value="" /><button value="1" type="submit" title="Search">Search</button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> <div class="mobileTools"> <form action="/doku.php" method="get" accept-charset="utf-8"><div class="no"><input type="hidden" name="id" value="plugin:htmlok" /><select name="do" class="edit quickselect" title="Tools"><option value="">Tools</option><optgroup label="Page Tools"><option value="edit">Edit this page</option><option value="revisions">Old revisions</option><option value="backlink">Backlinks</option></optgroup><optgroup label="Site Tools"><option value="recent">Recent Changes</option><option value="media">Media Manager</option><option value="index">Sitemap</option></optgroup><optgroup label="User Tools"><option value="login">Log In</option></optgroup></select><button type="submit">></button></div></form> </div> <ul> <li class="action recent"><a href="/plugin:htmlok?do=recent" title="Recent Changes [r]" rel="nofollow" accesskey="r">Recent Changes</a></li><li class="action media"><a href="/plugin:htmlok?do=media&ns=plugin" title="Media Manager" rel="nofollow">Media Manager</a></li><li class="action index"><a href="/plugin:htmlok?do=index" title="Sitemap [x]" rel="nofollow" accesskey="x">Sitemap</a></li> </ul> </div> </div> <!-- BREADCRUMBS --> <div class="breadcrumbs"> <div class="trace"><span class="bchead">Trace:</span> <span class="bcsep">•</span> <span class="curid"><bdi><a href="/plugin:htmlok" class="breadcrumbs" title="plugin:htmlok">htmlok</a></bdi></span></div> </div> <hr class="a11y" /> </div></header><!-- /header --> <div class="wrapper group"> <!-- ********** ASIDE ********** --> <nav id="dokuwiki__aside" aria-label="Sidebar"><div class="pad aside include group"> <h3 class="toggle">Sidebar</h3> <div class="content"><div class="group"> <p> <strong>Learn about DokuWiki</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/features" class="wikilink1" title="features" data-wiki-id="features">Features</a> & <a href="/blogroll" class="wikilink1" title="blogroll" data-wiki-id="blogroll">reviews</a> </div> </li> <li class="level1"><div class="li"> <a href="/install" class="wikilink1" title="install" data-wiki-id="install">Installation guide</a></div> </li> <li class="level1"><div class="li"> <a href="/manual" class="wikilink1" title="manual" data-wiki-id="manual">User manual</a> & <a href="/wiki:syntax" class="wikilink1" title="wiki:syntax" data-wiki-id="wiki:syntax">syntax</a></div> </li> <li class="level1"><div class="li"> <a href="/changes" class="wikilink1" title="changes" data-wiki-id="changes">Release notes</a></div> </li> <li class="level1"><div class="li"> <a href="/faq" class="wikilink1" title="faq" data-wiki-id="faq">FAQ</a></div> </li> </ul> <p> <strong>Advanced Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/extensions" class="wikilink1" title="extensions" data-wiki-id="extensions">Extensions</a></div> </li> <li class="level1"><div class="li"> <a href="/development" class="wikilink1" title="development" data-wiki-id="development">Development manual</a></div> </li> </ul> <p> <strong>Corporate Use</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/faq:support" class="wikilink1" title="faq:support" data-wiki-id="faq:support">Get support</a></div> </li> <li class="level1"><div class="li"> <a href="/donate" class="wikilink1" title="donate" data-wiki-id="donate">Donations</a></div> </li> </ul> <p> <strong>Our Community</strong> </p> <ul> <li class="level1"><div class="li"> <a href="/teams:getting_involved" class="wikilink1" title="teams:getting_involved" data-wiki-id="teams:getting_involved">Get involved</a></div> </li> <li class="level1"><div class="li"> <a href="/dokuinstall" class="wikilink1" title="dokuinstall" data-wiki-id="dokuinstall">Users</a></div> </li> <li class="level1"><div class="li"> <a href="http://forum.dokuwiki.org" class="urlextern" title="http://forum.dokuwiki.org">User forum</a></div> </li> <li class="level1"><div class="li"> <a href="/mailinglist" class="wikilink1" title="mailinglist" data-wiki-id="mailinglist">Development mailinglist</a></div> </li> </ul> <hr /> <p> Follow us on <a href="https://phpc.social/@dokuwiki" class="urlextern" title="https://phpc.social/@dokuwiki">Mastodon</a> and other <a href="/social" class="wikilink1" title="social" data-wiki-id="social">social networks</a>. </p> <p> <a href="/privacy" class="wikilink1" title="privacy" data-wiki-id="privacy">Our Privacy Policy</a> </p> </div></div> </div></nav><!-- /aside --> <!-- ********** CONTENT ********** --> <main id="dokuwiki__content"><div class="pad group"> <div class="pageId"><span>plugin:htmlok</span></div> <div class="page group"> <!-- wikipage start --> <!-- TOC START --> <div id="dw__toc" class="dw__toc"> <h3 class="toggle">Table of Contents</h3> <div> <ul class="toc"> <li class="level1"><div class="li"><a href="#htmlok_plugin">htmlok Plugin</a></div> <ul class="toc"> <li class="level2"><div class="li"><a href="#installation">Installation</a></div></li> <li class="level2"><div class="li"><a href="#examples_usage">Examples/Usage</a></div></li> <li class="level2"><div class="li"><a href="#syntax">Syntax</a></div></li> <li class="level2"><div class="li"><a href="#configuration_and_settings">Configuration and Settings</a></div> <ul class="toc"> <li class="level3"><div class="li"><a href="#comments">Comments</a></div></li> </ul></li> </ul></li> </ul> </div> </div> <!-- TOC END --> <h1 class="sectionedit1" id="htmlok_plugin">htmlok Plugin</h1> <div class="level1"> <div class="pluginrepo_entry"><div class="usageInfo"><div class="compatibility"><p class="label">Compatible with DokuWiki</p><div class="versions"><ul><li class="yes">2024-02-06 "Kaos" <strong><span>yes</span></strong></li><li class="yes">2023-04-04 "Jack Jackrum" <strong><span>yes</span></strong></li><li class="">2022-07-31 "Igor" <strong><span>unknown</span></strong></li><li class="">2020-07-29 "Hogfather" <strong><span>unknown</span></strong></li></ul></div></div><ul class="actions"><li><a class="download" href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/archive/refs/tags/2023-05-10.zip">Download</a></li><li><a class="bugs" href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/issues">Report bugs</a></li></ul><div class="clearer"></div></div><div class="mainInfo"><p class="description"><a class="media" href="/plugins"><img alt="plugin" class="medialeft" src="/lib/plugins/pluginrepo/images/dwplugin.png" width="60" height="60" /></a> Allows to embed HTML and PHP in Wiki Pages</p></div><div class="metaInfo"><dl><dt>Last updated on</dt><dd>2023-05-10</dd><dt>Provides</dt><dd><a href="/plugins?plugintype=1#extension__table" class="wikilink1" title="List all Syntax plugins">Syntax</a></dd><dt>Repository</dt><dd><a class="urlextern" href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/">Source</a></dd><dt>Conflicts with</dt><dd><a href="/plugin:confightmlok" class="wikilink1" title="plugin:confightmlok" data-wiki-id="plugin:confightmlok">confightmlok</a>, <a href="/plugin:htmlokay" class="wikilink1" title="plugin:htmlokay" data-wiki-id="plugin:htmlokay">htmlokay</a></dd></dl></div><div class="moreInfo"><div class="notify"><p><strong>Security warning (please read <a href="/devel:security" class="wikilink1" title="devel:security" data-wiki-id="devel:security">plugin security guidelines</a>):</strong> This extension will allow execution of scripts. It should only be used when you trust ALL editors, best suited in private personal wikis.</p></div><p class="similar">Similar to <a href="/plugin:confightmlok" class="wikilink1" title="plugin:confightmlok" data-wiki-id="plugin:confightmlok">confightmlok</a>, <a href="/plugin:embeddedphp" class="wikilink1" title="plugin:embeddedphp" data-wiki-id="plugin:embeddedphp">embeddedphp</a>, <a href="/plugin:htmlokay" class="wikilink1" title="plugin:htmlokay" data-wiki-id="plugin:htmlokay">htmlokay</a>, <a href="/plugin:htmlsafe" class="wikilink1" title="plugin:htmlsafe" data-wiki-id="plugin:htmlsafe">htmlsafe</a>, <a href="/plugin:phpwikify" class="wikilink1" title="plugin:phpwikify" data-wiki-id="plugin:phpwikify">phpwikify</a></p><p class="tags">Tagged with <a href="/plugins?plugintag=html#extension__table" class="wikilink1" title="List all plugins with this tag">html</a>, <a href="/plugins?plugintag=php#extension__table" class="wikilink1" title="List all plugins with this tag">php</a></p></div><div class="authorInfo"><strong>By <a href="mailto:saggi%20%5Bat%5D%20gmx%20%5Bdot%5D%20de%2C%20glen%20%5Bat%5D%20delfi%20%5Bdot%5D%20ee" class="mail" title="saggi [at] gmx [dot] de, glen [at] delfi [dot] ee">saggi, glen</a></strong></div></div> </div> <div class="secedit editbutton_section editbutton_1"><form class="button btn_secedit" method="post" action="/plugin:htmlok"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730673314" /><input type="hidden" name="summary" value="[htmlok Plugin] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="htmlok_plugin" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1-677" /><button type="submit" title="htmlok Plugin">Edit</button></div></form></div> <h2 class="sectionedit2" id="installation">Installation</h2> <div class="level2"> <div class="table sectionedit3"><table class="inline"> <thead> <tr class="row0"> <th class="col0 leftalign"><img src="/lib/images/smileys/exclaim.svg" class="icon smiley" alt=":!:" /> This plugin allows the use of <abbr title="HyperText Markup Language">HTML</abbr> and PHP in releases after “Igor”. In the DokuWiki core the <abbr title="HyperText Markup Language">HTML</abbr> and PHP support has been removed since release “<a href="/changes#release_2023-04-04a_jack_jackrum" class="wikilink1" title="changes" data-wiki-id="changes">Jack Jackrum</a>” for security reasons. Under this aspect, this plugin should also be considered critically! </th> </tr> </thead> <tr class="row1"> <td class="col0"> </td> </tr> <tr class="row2"> <th class="col0"><img src="/lib/images/smileys/exclaim.svg" class="icon smiley" alt=":!:" /> Before installation and use, please consider the <a href="/faq:html#is_html_really_needed" class="wikilink1" title="faq:html" data-wiki-id="faq:html">alternatives</a>! </th> </tr> </table></div> <div class="secedit editbutton_table editbutton_3"><form class="button btn_secedit" method="post" action="/plugin:htmlok"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730673314" /><input type="hidden" name="summary" value="[Table] " /><input type="hidden" name="target" value="table" /><input type="hidden" name="hid" value="table" /><input type="hidden" name="range" value="704-1118" /><button type="submit" title="Table">Edit</button></div></form></div> <p> Install the plugin using the <a href="/plugin:extension" class="wikilink1" title="plugin:extension" data-wiki-id="plugin:extension">Extension Manager</a> Plugin and the download <abbr title="Uniform Resource Locator">URL</abbr> above, which points to latest version of the plugin. Refer to <a href="/plugins" class="wikilink1" title="plugins" data-wiki-id="plugins">Plugins</a> on how to install plugins manually. </p> </div> <div class="secedit editbutton_section editbutton_2"><form class="button btn_secedit" method="post" action="/plugin:htmlok"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730673314" /><input type="hidden" name="summary" value="[Installation] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="installation" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="678-1321" /><button type="submit" title="Installation">Edit</button></div></form></div> <h2 class="sectionedit4" id="examples_usage">Examples/Usage</h2> <div class="level2"> <p> <img src="/lib/images/smileys/exclaim.svg" class="icon smiley" alt=":!:" /> A simultaneously installed <a href="/plugin:confightmlok" class="wikilink1" title="plugin:confightmlok" data-wiki-id="plugin:confightmlok">confightmlok</a> (<a href="/plugin:htmlokalt" class="wikilink1" title="plugin:htmlokalt" data-wiki-id="plugin:htmlokalt">htmlokalt</a>) with disabled processing leads to the source code and not the result is displayed! </p> <p> <strong>Please Note</strong>: <abbr title="HyperText Markup Language">HTML</abbr> and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. </p> <p> The code of the plugin was taken from the original implementation in DokuWiki core. So the use is also the same: </p> </div> <div class="secedit editbutton_section editbutton_4"><form class="button btn_secedit" method="post" action="/plugin:htmlok"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730673314" /><input type="hidden" name="summary" value="[Examples/Usage] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="examples_usage" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1322-1754" /><button type="submit" title="Examples/Usage">Edit</button></div></form></div> <h2 class="sectionedit5" id="syntax">Syntax</h2> <div class="level2"> <p> You can embed raw <abbr title="HyperText Markup Language">HTML</abbr> or PHP code into your documents by using the <code><html></code> or <code><php></code> tags. (Use uppercase tags if you need to enclose block level elements.) </p> <p> <abbr title="HyperText Markup Language">HTML</abbr> example: </p> <pre class="code"><html> This is some <span style="color:red;font-size:150%;">inline HTML</span> </html></pre> <pre class="code"><HTML> <p style="border:2px dashed red;">And this is some block HTML</p> </HTML></pre> <p> PHP example: </p> <pre class="code"><php> echo 'The PHP version: '; echo phpversion(); echo ' (generated inline HTML)'; </php></pre> <pre class="code"><PHP> echo '<table class="inline"><tr><td>The same, but inside a block level element:</td>'; echo '<td>'.phpversion().'</td>'; echo '</tr></table>'; </PHP></pre> </div> <div class="secedit editbutton_section editbutton_5"><form class="button btn_secedit" method="post" action="/plugin:htmlok"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730673314" /><input type="hidden" name="summary" value="[Syntax] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="syntax" /><input type="hidden" name="codeblockOffset" value="0" /><input type="hidden" name="range" value="1755-2456" /><button type="submit" title="Syntax">Edit</button></div></form></div> <h2 class="sectionedit6" id="configuration_and_settings">Configuration and Settings</h2> <div class="level2"> <div class="table sectionedit7"><table class="inline"> <tr class="row0"> <td class="col0">For <abbr title="HyperText Markup Language">HTML</abbr></td><td class="col1">You must activate <code>Allow embedded <abbr title="HyperText Markup Language">HTML</abbr></code> in the plugin configuration.</td> </tr> <tr class="row1"> <td class="col0">For PHP</td><td class="col1">You must activate <code>Allow embedded PHP</code> in the plugin configuration.</td> </tr> </table></div> <div class="secedit editbutton_table editbutton_7"><form class="button btn_secedit" method="post" action="/plugin:htmlok"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730673314" /><input type="hidden" name="summary" value="[Table] " /><input type="hidden" name="target" value="table" /><input type="hidden" name="hid" value="table1" /><input type="hidden" name="range" value="2497-2658" /><button type="submit" title="Table">Edit</button></div></form></div> </div> <h4 id="change_log">Change Log</h4> <div class="level4"> <ul class="rss"><li><div class="li"><a href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/89af79f6d2f55accef6fbe1f8312bd8670917aa7" class="urlextern" title="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/89af79f6d2f55accef6fbe1f8312bd8670917aa7">Merge pull request #13 from glensc/patch-1</a> (2024-03-04 09:24)</div></li><li><div class="li"><a href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/19d86252fe07527b06dcdd75e0dc5d5f646b463f" class="urlextern" title="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/19d86252fe07527b06dcdd75e0dc5d5f646b463f">Bump release to 2024-01-11</a> (2024-01-11 10:24)</div></li><li><div class="li"><a href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/2a4791817567444b11acde3ee3ed911deb1fb577" class="urlextern" title="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/2a4791817567444b11acde3ee3ed911deb1fb577">Update release.yml</a> (2024-01-11 10:08)</div></li><li><div class="li"><a href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/f186dda6240c61079cd9166c1f17aabefa21c7d8" class="urlextern" title="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/f186dda6240c61079cd9166c1f17aabefa21c7d8">update plugin.info.txt</a> (2023-05-12 08:20)</div></li><li><div class="li"><a href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/789ddac86362b667ecae8f6ddf733e38bd293282" class="urlextern" title="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/789ddac86362b667ecae8f6ddf733e38bd293282">Merge pull request #11 from glensc/ci-deploy</a> (2023-05-12 08:12)</div></li><li><div class="li"><a href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/60466249b5d729f84b47d135a4e7f45fb5eadfd7" class="urlextern" title="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/60466249b5d729f84b47d135a4e7f45fb5eadfd7">Use full commit hash</a> (2023-05-11 19:06)</div></li><li><div class="li"><a href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/bd934742107823b9394c4b8b837fc29671f2e223" class="urlextern" title="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/bd934742107823b9394c4b8b837fc29671f2e223">Update release ci job to 39431875f version</a> (2023-05-11 18:56)</div></li><li><div class="li"><a href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/439199252dcd7adf86600862c5fdd1ecd97d8d9b" class="urlextern" title="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/commit/439199252dcd7adf86600862c5fdd1ecd97d8d9b">Revert "update plugin.info.txt"</a> (2023-05-10 14:56)</div></li></ul> </div> <div class="secedit editbutton_section editbutton_6"><form class="button btn_secedit" method="post" action="/plugin:htmlok"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730673314" /><input type="hidden" name="summary" value="[Configuration and Settings] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="configuration_and_settings" /><input type="hidden" name="codeblockOffset" value="4" /><input type="hidden" name="range" value="2457-2764" /><button type="submit" title="Configuration and Settings">Edit</button></div></form></div> <h3 class="sectionedit8" id="comments">Comments</h3> <div class="level3"> <p> 1st: Thank you for restoring core functionality. 2nd: does not work yet, still see the html code, not the result. </p> <blockquote><div class="no"> You have to activate the config options <code>htmlok</code> and/or <code>phpok</code> in the plugin configuration. Has this been done? — <a href="https://forum.dokuwiki.org/u/saggi" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/saggi">saggi</a> <em>2023-04-06 11:06</em> <blockquote><div class="no"> Yes, in <abbr title="Graphical User Interface">GUI</abbr>-Config both Options set. <pre class="code php"><span class="re0">$conf</span><span class="br0">[</span><span class="st_h">'plugin'</span><span class="br0">]</span><span class="br0">[</span><span class="st_h">'htmlok'</span><span class="br0">]</span><span class="br0">[</span><span class="st_h">'htmlok'</span><span class="br0">]</span> <span class="sy0">=</span> <span class="nu0">1</span><span class="sy0">;</span> <span class="re0">$conf</span><span class="br0">[</span><span class="st_h">'plugin'</span><span class="br0">]</span><span class="br0">[</span><span class="st_h">'htmlok'</span><span class="br0">]</span><span class="br0">[</span><span class="st_h">'phpok'</span><span class="br0">]</span> <span class="sy0">=</span> <span class="nu0">1</span><span class="sy0">;</span> <span class="re0">$conf</span><span class="br0">[</span><span class="st_h">'htmlok'</span><span class="br0">]</span> <span class="sy0">=</span> <span class="st_h">'1'</span><span class="sy0">;</span> <span class="re0">$conf</span><span class="br0">[</span><span class="st_h">'phpok'</span><span class="br0">]</span> <span class="sy0">=</span> <span class="st_h">'1'</span><span class="sy0">;</span></pre> <p> Don't know if the different datatype is a problem? </p> <blockquote><div class="no"> Sorry, I can't recreate the problem. Is the code shown enclosed in code tags or just plain text? Can you open a thread about this on <a href="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/issues" class="urlextern" title="https://github.com/saggi-dw/dokuwiki-plugin-htmlok/issues">Github</a> or in the <a href="https://forum.dokuwiki.org/" class="urlextern" title="https://forum.dokuwiki.org/">forum</a>? — <a href="https://forum.dokuwiki.org/u/saggi" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/saggi">saggi</a> <em>2023-04-06 12:42</em><blockquote><div class="no"> the problem is lower case html/php tags. please include both variants<blockquote><div class="no"> All examples from <a href="#syntax" title="plugin:htmlok ↵" class="wikilink1">syntax</a> work with the latest version. — <a href="https://forum.dokuwiki.org/u/saggi" class="interwiki iw_user" title="https://forum.dokuwiki.org/u/saggi">saggi</a> <em>2023-04-13 11:06</em><blockquote><div class="no"> I've reinstalled the plugin right before the test. without changes to the tags, nothing happens (just plain html code without the tags), with opening tag to upper case it's broken, with both uppercase it works like before??</div></blockquote> </div></blockquote> </div></blockquote> </div></blockquote> </div></blockquote> </div></blockquote> </div> <div class="secedit editbutton_section editbutton_8"><form class="button btn_secedit" method="post" action="/plugin:htmlok"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="1730673314" /><input type="hidden" name="summary" value="[Comments] " /><input type="hidden" name="target" value="section" /><input type="hidden" name="hid" value="comments" /><input type="hidden" name="codeblockOffset" value="4" /><input type="hidden" name="range" value="2765-" /><button type="submit" title="Comments">Edit</button></div></form></div> <!-- wikipage stop --> </div> <div class="docInfo"><bdi>plugin/htmlok.txt</bdi> · Last modified: <time datetime="2024-11-03T23:35:14+0100">2024-11-03 23:35</time> by <bdi>fiwswe</bdi></div> <hr class="a11y" /> </div></main><!-- /content --> <!-- PAGE ACTIONS --> <nav id="dokuwiki__pagetools" aria-labelledby="dokuwiki__pagetools__heading"> <h3 class="a11y" id="dokuwiki__pagetools__heading">Page Tools</h3> <div class="tools"> <ul> <li class="edit"><a href="/plugin:htmlok?do=edit" title="Edit this page [e]" rel="nofollow" accesskey="e"><span>Edit this page</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg></a></li><li class="revs"><a href="/plugin:htmlok?do=revisions" title="Old revisions [o]" rel="nofollow" accesskey="o"><span>Old revisions</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 7v5.11l4.71 2.79.79-1.28-4-2.37V7m0-5C8.97 2 5.91 3.92 4.27 6.77L2 4.5V11h6.5L5.75 8.25C6.96 5.73 9.5 4 12.5 4a7.5 7.5 0 0 1 7.5 7.5 7.5 7.5 0 0 1-7.5 7.5c-3.27 0-6.03-2.09-7.06-5h-2.1c1.1 4.03 4.77 7 9.16 7 5.24 0 9.5-4.25 9.5-9.5A9.5 9.5 0 0 0 12.5 2z"/></svg></a></li><li class="backlink"><a href="/plugin:htmlok?do=backlink" title="Backlinks" rel="nofollow"><span>Backlinks</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.59 13.41c.41.39.41 1.03 0 1.42-.39.39-1.03.39-1.42 0a5.003 5.003 0 0 1 0-7.07l3.54-3.54a5.003 5.003 0 0 1 7.07 0 5.003 5.003 0 0 1 0 7.07l-1.49 1.49c.01-.82-.12-1.64-.4-2.42l.47-.48a2.982 2.982 0 0 0 0-4.24 2.982 2.982 0 0 0-4.24 0l-3.53 3.53a2.982 2.982 0 0 0 0 4.24m2.82-4.24c.39-.39 1.03-.39 1.42 0a5.003 5.003 0 0 1 0 7.07l-3.54 3.54a5.003 5.003 0 0 1-7.07 0 5.003 5.003 0 0 1 0-7.07l1.49-1.49c-.01.82.12 1.64.4 2.43l-.47.47a2.982 2.982 0 0 0 0 4.24 2.982 2.982 0 0 0 4.24 0l3.53-3.53a2.982 2.982 0 0 0 0-4.24.973.973 0 0 1 0-1.42z"/></svg></a></li><li class="top"><a href="#dokuwiki__top" title="Back to top [t]" rel="nofollow" accesskey="t"><span>Back to top</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"/></svg></a></li> </ul> </div> </nav> </div><!-- /wrapper --> <!-- ********** FOOTER ********** --> <footer id="dokuwiki__footer"><div class="pad"> <div class="license">Except where otherwise noted, content on this wiki is licensed under the following license: <bdi><a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license" class="urlextern">CC Attribution-Share Alike 4.0 International</a></bdi></div> <div class="buttons"> <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="license"><img src="/lib/images/license/button/cc-by-sa.png" alt="CC Attribution-Share Alike 4.0 International" /></a> <a href="https://www.dokuwiki.org/donate" title="Donate" ><img src="/lib/tpl/dokuwiki/images/button-donate.gif" width="80" height="15" alt="Donate" /></a> <a href="https://php.net" title="Powered by PHP" ><img src="/lib/tpl/dokuwiki/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a> <a href="//validator.w3.org/check/referer" title="Valid HTML5" ><img src="/lib/tpl/dokuwiki/images/button-html5.png" width="80" height="15" alt="Valid HTML5" /></a> <a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" ><img src="/lib/tpl/dokuwiki/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a> <a href="https://dokuwiki.org/" title="Driven by DokuWiki" ><img src="/lib/tpl/dokuwiki/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> </div> <div style="margin-top: 2em; font-size:90%" class="dokuwiki"><div style="float:right"><a href="http://www.splitbrain.org/personal#imprint" style="float:right; text-decoration: none; color:#333">Imprint</a></div></div><!-- Include for DokuWiki site wide top bar --> <style type="text/css"> @media screen { body { padding-top: 30px; } #global__header { position: absolute; top: 0; left: 0; text-align: left; vertical-align: middle; line-height: 1.5; background-color: #333; box-shadow: 0 0 8px rgba(0,0,0,0.5); width: 100%; margin: 0; padding: 5px 20px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; white-space: nowrap; overflow: hidden; } #global__header h2 { position: absolute; left: -99999em; top: 0; overflow: hidden; display: inline; } #global__header ul, #global__header li { margin: 0; padding: 0; list-style: none; display: inline; line-height: 1.5; } #global__header a { color: #bbb; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: normal; } #global__header a:hover, #global__header a:active, #global__header a:focus { color: #fff; text-decoration: underline; } #global__header form { float: right; margin: 0 0 0 20px; } #global__header input { background-color: #333; background-image: none; border: 1px solid #bbb; color: #fff; box-shadow: none; border-radius: 2px; margin: 0; line-height: normal; padding: 1px 0 1px 0; height: auto; } #global__header input.button { border: none; color: #bbb; } #global__header input.button:hover, #global__header input.button:active, #global__header input.button:focus { color: #fff; text-decoration: underline; } } /* /@media */ @media only screen and (min-width: 601px) { /* changes specific for www.dokuwiki.org */ #dokuwiki__header { padding-top: 3em; } #dokuwiki__usertools { top: 3em; } /* changes specific for bugs.dokuwiki.org */ div#container div#showtask { top: 40px; } } /* /@media */ @media only screen and (max-width: 600px) { body { padding-top: 0; } #global__header { position: static; white-space: normal; overflow: auto; } #global__header form { float: none; display: block; margin: 0 0 .4em; } } /* /@media */ @media print { #global__header { display: none; } } /* /@media */ </style> <div id="global__header"> <h2>Global DokuWiki Links</h2> <form method="get" action="https://search.dokuwiki.org/" target="_top"> <input type="text" name="q" title="Search all DokuWiki sites at once" class="input" /> <input type="submit" title="Search all DokuWiki sites at once" value="Search" class="button" /> </form> <ul> <li><a href="https://download.dokuwiki.org" title="Download the latest release" target="_top">Download</a></li> <li><a href="https://www.dokuwiki.org" title="Read the DokuWiki documentation" target="_top">Wiki</a></li> <li><a href="https://forum.dokuwiki.org" title="Ask questions in the DokuWiki forum" target="_top">Forum</a></li> <li><a href="https://irc.dokuwiki.org" title="Check IRC chat logs or join the chat" target="_top">IRC</a></li> <li><a href="https://github.com/splitbrain/dokuwiki/issues" title="Report and track bugs" target="_top">Bugs</a></li> <li><a href="https://translate.dokuwiki.org/" title="Help translating the DokuWiki interface" target="_top">Translate</a></li> <li><a href="https://github.com/splitbrain/dokuwiki" title="Access the most recent git commits" target="_top">Git</a></li> <li><a href="https://xref.dokuwiki.org/reference/dokuwiki/" title="Cross-Reference of the DokuWiki source code" target="_top">XRef</a></li> <li><a href="https://codesearch.dokuwiki.org/" title="Search through the sources of DokuWiki, plugins and templates" target="_top">Code Search</a></li> </ul> </div> <!-- end of DokuWiki top bar include --> </div></footer><!-- /footer --> </div></div><!-- /site --> <div class="no"><img src="/lib/exe/taskrunner.php?id=plugin%3Ahtmlok&1742614192" width="2" height="1" alt="" /></div> <div id="screen__mode" class="no"></div></body> </html>