if (GalleryRemote._().properties.getBooleanProperty(HTML_ESCAPE_CAPTIONS)) {
if (escapeCaptions) {
		void runTask() {			status(su, StatusUpdate.LEVEL_GENERIC, GRI18n.getString(MODULE, "newAlbm", new Object[] { albumName, g.toString() }));			// if the parent is null (top-level album), set the album name to an illegal name so it's set to null			// by Gallery. Using an empty string doesn't work, because then the HTTP parameter is not			// parsed, and the session album is kept the same as before (from the cookie).			String parentAlbumName = (parentAlbum == null) ? "hack_null_albumName" : parentAlbum.getName();			if (GalleryRemote._().properties.getBooleanProperty(HTML_ESCAPE_CAPTIONS)) {				albumTitle = HTMLEscaper.escape(albumTitle);				albumDesc = HTMLEscaper.escape(albumDesc);			}			try {				// setup the protocol parameters				NVPair form_data[] = {					new NVPair("cmd", "new-album"),					new NVPair("protocol_version", PROTOCOL_VERSION),					new NVPair("set_albumName", parentAlbumName),					new NVPair("newAlbumName", albumName),					new NVPair("newAlbumTitle", albumTitle),					new NVPair("newAlbumDesc", albumDesc)				};				Log.log(Log.LEVEL_TRACE, MODULE, "new-album parameters: " + Arrays.asList(form_data));				form_data = fudgeFormParameters(form_data);				// load and validate the response				Properties p = requestResponse(form_data, su, this);				if (p.getProperty("status").equals(GR_STAT_SUCCESS)) {					status(su, StatusUpdate.LEVEL_GENERIC, GRI18n.getString(MODULE, "crateAlbmOk"));					newAlbumName = p.getProperty("album_name");				} else {					Object[] params2 = {p.getProperty("status_text")};					error(su, GRI18n.getString(MODULE, "error", params2));				}			} catch (GR2Exception gr2e) {				Log.logException(Log.LEVEL_ERROR, MODULE, gr2e);				Object[] params2 = {gr2e.getMessage()};				error(su, GRI18n.getString(MODULE, "error", params2));			} catch (IOException ioe) {				Log.logException(Log.LEVEL_ERROR, MODULE, ioe);				Object[] params2 = {ioe.toString()};				error(su, GRI18n.getString(MODULE, "error", params2));			} catch (ModuleException me) {				Log.logException(Log.LEVEL_ERROR, MODULE, me);				Object[] params2 = {me.toString()};				error(su, GRI18n.getString(MODULE, "error", params2));			}		}