private String replaceDotInMustacheKeys(final List<String> mustacheKeys,final String pluginCall){
  String fixedPluginCall=pluginCall;
  for (  String mustacheKey : mustacheKeys) {
    if (mustacheKey.contains(".")) {
      fixedPluginCall=fixedPluginCall.replace("{{" + mustacheKey + "}}","{{" + mustacheKey.replace('.','#') + "}}");
    }
  }
  return fixedPluginCall;
}

private String replaceDotInMustacheKeys ( final List < String > mustacheKeys , final String pluginCall ) { String fixedPluginCall = pluginCall ; for ( String mustacheKey : mustacheKeys ) { if ( mustacheKey . contains ( "." ) ) { fixedPluginCall = fixedPluginCall . replace ( "{{" + mustacheKey + "}}" , "{{" + mustacheKey . replace ( '.' , '#' ) + "}}" ) ; } } return fixedPluginCall ; }
todo : trivial components does not support foo . bar so this methods replaces foo . bar by foo_bar . todo this could removed if https : / / github . com / trivial - components / trivial - components / issues / 36 is fixed
