# Any copyright is dedicated to the Public Domain. # http://creativecommons.org/publicdomain/zero/1.0/ import fluent.syntax.ast as FTL from fluent.migrate.transforms import TransformPattern class STRIP_LEARNMORE(TransformPattern): # Used to remove `SOME TEXT` from a string def visit_TextElement(self, node): link_start = node.value.find('