1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-25 01:51:23 +02:00

Bump v_htmlescape version to 0.4

This commit is contained in:
Tomas Izquierdo Garcia-Faria
2019-01-25 02:35:11 +01:00
committed by Douman
parent a534fdd125
commit f5bec968c7
2 changed files with 2 additions and 7 deletions

View File

@ -11,7 +11,7 @@ use std::{cmp, io};
#[cfg(unix)]
use std::os::unix::fs::MetadataExt;
use v_htmlescape::HTMLEscape;
use v_htmlescape::escape as escape_html_entity;
use bytes::Bytes;
use futures::{Async, Future, Poll, Stream};
use futures_cpupool::{CpuFuture, CpuPool};
@ -569,11 +569,6 @@ macro_rules! encode_file_url {
};
}
#[inline]
fn escape_html_entity(s: &str) -> HTMLEscape {
HTMLEscape::from(s)
}
// " -- &quot; & -- &amp; ' -- &#x27; < -- &lt; > -- &gt; / -- &#x2f;
macro_rules! encode_file_name {
($entry:ident) => {