$str = "<svg> Hello, World! <g> <path/> <path/> </g> </svg> "; $html = str_get_html($str); echo $html->expect("svg", 0)->plaintext; Hello, World! </g> </svg>
Log in to post a comment.