diff --git a/iphone/Maps/Common/WebViewController.m b/iphone/Maps/Common/WebViewController.m index b98ca43259..38cb4084f7 100644 --- a/iphone/Maps/Common/WebViewController.m +++ b/iphone/Maps/Common/WebViewController.m @@ -27,7 +27,7 @@ - (id)initWithHtml:(NSString *)htmlText baseUrl:(NSURL *)url title:(NSString *)title { self = [super initWithNibName:nil bundle:nil]; if (self) { - _m_htmlText = [self configuredHtmlWithText:htmlText]; + _m_htmlText = htmlText; _m_url = url; if (title) self.navigationItem.title = title; @@ -91,7 +91,7 @@ __typeof(self) self = ws; if (load) { if (self.m_htmlText) { - [self.webView loadHTMLString:self.m_htmlText baseURL:self.m_url]; + [self.webView loadHTMLString:[self configuredHtmlWithText:self.m_htmlText] baseURL:self.m_url]; } else { NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:self.m_url]; for (NSString *header in headers.allKeys) { diff --git a/iphone/Maps/UI/PlacePage/Components/PlacePageDescriptionViewController.swift b/iphone/Maps/UI/PlacePage/Components/PlacePageDescriptionViewController.swift index e2b8f3c5cf..c363188b40 100644 --- a/iphone/Maps/UI/PlacePage/Components/PlacePageDescriptionViewController.swift +++ b/iphone/Maps/UI/PlacePage/Components/PlacePageDescriptionViewController.swift @@ -4,7 +4,7 @@ final class PlacePageDescriptionViewController: WebViewController { let styleTags = """
@@ -13,7 +13,15 @@ final class PlacePageDescriptionViewController: WebViewController { html = html.replacingOccurrences(of: "", with: "wikipedia.org