mirror of
https://tildegit.org/sbgodin/HtmGem.git
synced 2023-08-25 13:53:12 +02:00
FIX: translate_to_gemtext.php
This commit is contained in:
parent
c858b733f4
commit
2261dac656
@ -5,6 +5,5 @@ $fileName = $argv[1];
|
||||
require_once dirname(__FILE__)."/../../lib-htmgem.php";
|
||||
|
||||
$text = file_get_contents($fileName);
|
||||
$parsedGemtext = \htmgem\gemtextParser($text);
|
||||
$gt_gemtext = new \htmgem\GemtextTranslate_gemtext($parsedGemtext);
|
||||
$gt_gemtext = new \htmgem\GemtextTranslate_gemtext($text);
|
||||
echo strval($gt_gemtext);
|
||||
|
Loading…
x
Reference in New Issue
Block a user