# This module is the part of troggle that parses descriptions of cave parts (subcaves) from the legacy html files and saves them in the troggle database as instances of the model Subcave. Unfortunately, this parser can not be very flexible because the legacy format is poorly structured.
# '''
# import sys
# import os
# import re
# import logging
# from django.conf import settings
# from troggle.core.models_caves import Cave, NewSubCave
# from utils import save_carefully
# def getLinksInCaveDescription(cave):
# '''
# Returns all HTML <a href> tags from a given cave as a list of tuples