@@ -1242,7 +1242,7 @@ import Text.Pandoc
1242import Data.Char (toUpper)
1242import Data.Char (toUpper)
1244transform :: [Inline] -> [Inline]
1244transform :: [Inline] -> [Inline]
1245−transform (Emph xs : ys) = processIn capStr xs ++ transform ys
1245+transform (Emph xs : ys) = processWith capStr xs ++ transform ys
1246transform (x : ys) = x : transform ys
1246transform (x : ys) = x : transform ys
1247transform [] = []
1247transform [] = []
@@ -1255,19 +1255,19 @@ Here `transform` converts a whole list of `Inline` elements to another
1255such list. The key clause is
1255such list. The key clause is
1257~~~ {.haskell}
1257~~~ {.haskell}
1258−transform (Emph xs : ys) = processIn capStr xs ++ transform ys
1258+transform (Emph xs : ys) = processWith capStr xs ++ transform ys
1261This applies the `capStr` function recursively to all inlines in the
1261This applies the `capStr` function recursively to all inlines in the
1262list of emphasized inlines and puts the transformed list in place
1262list of emphasized inlines and puts the transformed list in place
1263of the original. `capStr` is a simple `Inline` transformation that
1263of the original. `capStr` is a simple `Inline` transformation that
1264capitalizes `Str` elements and leaves everything else alone. The
1264capitalizes `Str` elements and leaves everything else alone. The
1265−function `processIn`, defined in `Text.Pandoc.Definition`, uses some
1265+function `processWith`, defined in `Text.Pandoc.Definition`, uses some
1266`Data.Generics` magic to apply its argument (here `capStr`) to every
1266`Data.Generics` magic to apply its argument (here `capStr`) to every
1267`Inline` element in a list, including elements that are deeply buried in
1267`Inline` element in a list, including elements that are deeply buried in
1268other elements. Thus
1268other elements. Thus
1270− processIn captStr [Str "one", Strong [Str "two", Space]] ==>
1270+ processWith captStr [Str "one", Strong [Str "two", Space]] ==>
1271 [Str "ONE", Strong [Str "TWO", Space]]
1271 [Str "ONE", Strong [Str "TWO", Space]]
1273There are other sample plugins in the `plugins` subdirectory of the
1273There are other sample plugins in the `plugins` subdirectory of the