glossarist / iev-data

1 stars 1 forks source link

Parsing: unwrap `<span>` elements #120

Open ronaldtse opened 3 years ago

ronaldtse commented 3 years ago

Not sure if the <span> elements are useful. Let's just "unwrap" them for now. i.e. replace the <span>...</span> with just ....

concepts/concept-112-01-01.yaml:    colspan=\"2\">\n\n<span>concentration en quantité de matière du constituant B,
concepts/concept-112-01-01.yaml:    </span>stem:[c]~B~\r\n</td>\r\n<td>\n\n<span>concentration en quantité de matière
ronaldtse commented 3 years ago

Maybe it's meant to be a "term highlight"?

e.g.

concepts/concept-112-01-17.yaml:    style=\"width: 204px;\">\n\n<span>ohm</span>\r\n</td>\r\n<td style=\"width: 115.033px;\">\n\n<span>Ω</span>\r\n</td>\r\n</tr>\r\n<tr>\r\n<td
concepts/concept-112-01-17.yaml:    style=\"width: 204px;\">\n\n<span>mètre par seconde carrée</span>\r\n</td>\r\n<td