projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Default skin can be specified in the configuration file.
[platal.git]
/
include
/
newsletter.inc.php
diff --git
a/include/newsletter.inc.php
b/include/newsletter.inc.php
index
386ef16
..
9840775
100644
(file)
--- a/
include/newsletter.inc.php
+++ b/
include/newsletter.inc.php
@@
-226,8
+226,8
@@
class NLArticle
public function toText()
{
$title = '*'.$this->title().'*';
public function toText()
{
$title = '*'.$this->title().'*';
- $body =
enriched_to_text($this->_body,false,
true);
- $app =
enriched_to_text($this->_append,false
,false,4);
+ $body =
MiniWiki::WikiToText($this->_body,
true);
+ $app =
MiniWiki::WikiToText($this->_append
,false,4);
return trim("$title\n\n$body\n\n$app")."\n";
}
return trim("$title\n\n$body\n\n$app")."\n";
}
@@
-237,8
+237,8
@@
class NLArticle
public function toHtml()
{
$title = "<h2 class='xorg_nl'><a id='art{$this->_aid}'></a>".pl_entities($this->title()).'</h2>';
public function toHtml()
{
$title = "<h2 class='xorg_nl'><a id='art{$this->_aid}'></a>".pl_entities($this->title()).'</h2>';
- $body =
enriched_to_text($this->_body,true
);
- $app =
enriched_to_text($this->_append,true
);
+ $body =
MiniWiki::WikiToHTML($this->_body
);
+ $app =
MiniWiki::WikiToHTML($this->_append
);
$art = "$title\n";
$art .= "<div class='art'>\n$body\n";
$art = "$title\n";
$art .= "<div class='art'>\n$body\n";
@@
-255,7
+255,7
@@
class NLArticle
public function check()
{
public function check()
{
- $text =
enriched_to_t
ext($this->_body);
+ $text =
MiniWiki::WikiToT
ext($this->_body);
$arr = explode("\n",wordwrap($text,68));
$c = 0;
foreach ($arr as $line) {
$arr = explode("\n",wordwrap($text,68));
$c = 0;
foreach ($arr as $line) {