diff --git a/htmixer.c b/htmixer.c
index 83c3112..b686d8c 100644
--- a/htmixer.c
+++ b/htmixer.c
@@ -52,11 +52,19 @@ int search_var_list(char* Name)
size_t get_me_out(char*buff)
{
size_t index=0;
- int d=2;
+ int d=1;
while(d!=0)
{
- if(buff[index]=='{')d++;
- if(buff[index]=='}')d--;
+ if(buff[index]=='{'&&buff[index+1]=='{')
+ {
+ d++;
+ index++;
+ }
+ else if(buff[index]=='}'&&buff[index+1]=='}')
+ {
+ d--;
+ index++;
+ }
index++;
}
return index-2;
diff --git a/var/home.txt b/var/home.txt
index 6123471..9775173 100644
--- a/var/home.txt
+++ b/var/home.txt
@@ -124,6 +124,13 @@ Result:
{{ VAR-1-0}}
{{ VAR-1-1}}
+
+
+
keep in mind that '{{ ' and '}}' is a key command and should be used together!
+If you want to use it, you have to type a space immediately after it '{{ SPACE' , +so as not to be confused with variables. +Do not worry about space, because it does not affect the output. and finally, do not forget his friend! '}}'
}} ------------------------------------ {{SITE-CC