💾 Archived View for yggverse.cities.yesterweb.org › gemini › gemini-php › 0.5.0.gmi captured on 2024-08-25 at 00:13:24. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-10)
-=-=-=-=-=-=-
Implemented Body::skipTags filter
$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 "##", "###" ] ) );