[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8261] property: wikiparser
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [8261] property: wikiparser |
Date: |
Fri, 09 Dec 2011 12:45:37 +0000 |
Revision: 8261
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8261
Author: sigurdne
Date: 2011-12-09 12:45:36 +0000 (Fri, 09 Dec 2011)
Log Message:
-----------
property: wikiparser
Modified Paths:
--------------
trunk/property/test_wiki.php
Modified: trunk/property/test_wiki.php
===================================================================
--- trunk/property/test_wiki.php 2011-12-09 12:30:44 UTC (rev 8260)
+++ trunk/property/test_wiki.php 2011-12-09 12:45:36 UTC (rev 8261)
@@ -17,9 +17,12 @@
$syntax = phpgw::get_var('syntax');
$wiki_parser->set_syntax($syntax);
$html .= $wiki_parser->process($content);
+
+// Alternative call - given default syntax textile
+// $html =
execMethod('phpgwapi.wiki2html.process',$content);
}
- $checked_textile = $syntax == 'textile' ? 'checked' : '';
+ $checked_textile = $syntax == 'textile' || !$syntax ? 'checked' : '';
//default
$checked_markdown = $syntax == 'markdown' ? 'checked' : '';
$content = $_POST ? $content : <<<content
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8261] property: wikiparser,
Sigurd Nes <=