EU reaches agreement to remove terrorist content online