Assume we have a domain $\Omega \subset \mathbb{R}^n$ and a domain $\Omega_a$ of codimension $2$ embedded in $\Omega$. This setting comes from physics, where I have a cube $[0,1]^3$ with inside a curve, which plays the role of $\Omega_a$.
If I am considering continuous functions over $\Omega$, then the restriction operator $\gamma: C^0(\bar{\Omega}) \rightarrow C^0(\bar{\Omega_a}) \subset L^2(\Omega_a)$ makes sense. However, I've been told that it's not possible, in general, to extend $\gamma$ continuously to $H^1(\Omega)$. Why is this true? I'd like to see an example of why this fails.