Hello:
I am new guy use replace-filter-nginx-module, I want insert some javascript to html body. And my javascript code contain $. When try $$ like this:
replace_filter '' '<script>$$(document).ready(function(){$$(".panel-container").eq(-1).hide();});</script>' g;
I need it to be '<script>$(document).ready(function(){$(".panel-container").eq(-1).hide();});</script>'.
But I still get two $$ as result

Thank you for your help.
Hello:$. When try $ $ like this:

I am new guy use replace-filter-nginx-module, I want insert some javascript to html body. And my javascript code contain
replace_filter '' '<script>$$(document).ready(function(){$$(".panel-container").eq(-1).hide();});</script>' g;
I need it to be '<script>$(document).ready(function(){$(".panel-container").eq(-1).hide();});</script>'.
But I still get two $$ as result
Thank you for your help.