FIX: translate_to_gemtext.php

This commit is contained in:
Christophe HENRY 2021-03-25 19:08:57 +01:00
parent c858b733f4
commit 2261dac656
1 changed files with 1 additions and 2 deletions

View File

@ -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);