             func process(HTMLString: String, with floorID: Int) -> String {
                 func processImages(xmlDocument: DDXMLDocument) -> DDXMLDocument {
                     func isMahjongFaceImage(imageSourceString: String?) -> Bool {
-                        if let srcString = imageSourceString, srcString.hasPrefix("http://static.saraba1st.com/image/smiley") {
+                        if let srcString = imageSourceString, srcString.hasPrefix(mahjongFaceBaseURLString) {
                             return true
                         }
                         return false

import CocoaLumberjack
import Reachability
import Crashlytics

protocol PageRenderer {
    var topic: S1Topic { get }

                                linkElement.addChild(imageElement)
                            }
                        } else {
                            let mahjongFacePath = srcString!.replacingOccurrences(of: mahjongFaceBaseURLString, with: Bundle.main.bundleURL.appendingPathComponent("Mahjong").absoluteString.replacingOccurrences(of: "file://", with: ""))
                            if FileManager.default.fileExists(atPath: mahjongFacePath) {
                                image.removeAttribute(forName: "src")
                                image.addAttribute(withName: "src", stringValue: mahjongFacePath)
                            } else {
                                Answers.logCustomEvent(withName: "MahjongFace Cache Miss v3", customAttributes: ["url": srcString!.replacingOccurrences(of: mahjongFaceBaseURLString, with: "")])
                            }
                        }

