For each such text snippet s, we perform five substeps: a) extraction of the term/gloss separator: we  start from t i and move right until we extract the longest sequence p M of HTML tags and non-alphanumeric characters, which we call the term/gloss separator, between t i and the glossary definition (e.g., "</b> --" between "firewall" and "a" in the above example); b) gloss extraction: we expand the snippet s to the right of h i in search of the entire gloss of t i , i.e., until we reach a non-formatting tag element (e.g., <span>, <p>, <div>), while ignoring formatting elements such as <b>, <i> and <a> which are typically included within a definition sentence.
we obtain the sequence is our gloss for seed term t i in snippet s (which includes h i by construction) and p R is the nonformatting HTML tag element to the right of the extracted gloss.