equal
deleted
inserted
replaced
138 |
138 |
139 raw = evalstring(context, mapping, args[0]) |
139 raw = evalstring(context, mapping, args[0]) |
140 ctx = context.resource(mapping, 'ctx') |
140 ctx = context.resource(mapping, 'ctx') |
141 m = ctx.match([raw]) |
141 m = ctx.match([raw]) |
142 files = list(ctx.matches(m)) |
142 files = list(ctx.matches(m)) |
143 return templateutil.compatlist(context, mapping, "file", files) |
143 return templateutil.compatfileslist(context, mapping, "file", files) |
144 |
144 |
145 @templatefunc('fill(text[, width[, initialident[, hangindent]]])') |
145 @templatefunc('fill(text[, width[, initialident[, hangindent]]])') |
146 def fill(context, mapping, args): |
146 def fill(context, mapping, args): |
147 """Fill many |
147 """Fill many |
148 paragraphs with optional indentation. See the "fill" filter.""" |
148 paragraphs with optional indentation. See the "fill" filter.""" |