You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Public domain. https://github.com/nolanw/HTMLReader
#import <HTMLReader/HTMLSupport.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSString (HTMLEntities)
/**
Returns a copy of the string with the necessary characters escaped for HTML.
For more information, see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#escapingString (the algorithm is not invoked in the "attribute mode").
/// Returns a copy of the string with all recognized HTML entities replaced by their respective code points. If no replacement is necessary, the same instance may be returned.