2424import java .util .Locale ;
2525
2626import com .github .jknack .handlebars .internal .Locales ;
27+
2728import static java .util .Objects .requireNonNull ;
2829
2930/**
@@ -235,7 +236,7 @@ public Object apply(final Object value, final Options options)
235236 * <p>
236237 * Constructs a message with pluralization logic from the given template.
237238 * </p>
238- * <h5> Examples:</h5>
239+ * Examples:
239240 *
240241 * <pre>
241242 * MessageFormat msg =
@@ -274,7 +275,7 @@ public Object apply(final Object value, final Options options)
274275 * {{pluralize "pattern" arg0, arg1, ..., argn [locale="default"]}}
275276 * </pre>
276277 *
277- * @see Humanize#pluralize (String, Locale)
278+ * @see Humanize#pluralizeFormat (String, Locale)
278279 */
279280 pluralize {
280281 @ Override
@@ -289,6 +290,7 @@ public Object apply(final Object value, final Options options)
289290 * <p>
290291 * Transforms a text into a representation suitable to be used in an URL.
291292 * </p>
293+ * <pre>{@code
292294 * <table border="0" cellspacing="0" cellpadding="3" width="100%">
293295 * <tr>
294296 * <th class="colFirst">Input</th>
@@ -303,6 +305,7 @@ public Object apply(final Object value, final Options options)
303305 * <td>"lo-siento-no-hablo-espanol"</td>
304306 * </tr>
305307 * </table>
308+ * }</pre>
306309 *
307310 * <pre>
308311 * {{slugify string}}
@@ -378,25 +381,6 @@ public Object apply(final Object value, final Options options)
378381 }
379382 },
380383
381- /**
382- * <p>
383- * Strips diacritic marks.
384- * </p>
385- *
386- * <pre>
387- * {{transliterate string}}
388- * </pre>
389- *
390- * @see Humanize#transliterate(String)
391- */
392- transliterate {
393- @ Override
394- public Object apply (final Object value , final Options options )
395- throws IOException {
396- return Humanize .transliterate ((String ) value );
397- }
398- },
399-
400384 /**
401385 * <p>
402386 * Makes a phrase underscored instead of spaced.
0 commit comments