0.5.0
Implemented Body::skipTags
filter
Example
$request = new \Yggverse\Gemini\Client\Request(
'gemini://yggverse.cities.yesterweb.org'
);
$response = new \Yggverse\Gemini\Client\Response(
$request->getResponse()
);
$body = new \Yggverse\Gemini\Gemtext\Body(
$response->getBody()
);
var_dump(
$body->skipTags() // strip all tags
);
var_dump(
$body->skipTags(
[ // strip 1- and 2- level headers only
"##",
"###"
]
)
);
Full Changelog: 0.4.1...0.5.0