File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -129,28 +129,28 @@ PERLSCRIPT
129129 # Process content with the perl script
130130 cat "$temp_file" | perl "$perl_script" > "${temp_file}.new"
131131 content=$(cat "${temp_file}.new")
132-
132+
133133 # Clean up temporary files
134134 rm "$temp_file" "${temp_file}.new" "$perl_script"
135-
135+
136136 # Now copy all the images referenced in HTML tags
137137 for img_src in $(grep -o '<img [^>]*src="[^"]*"' "./$rel_path" | sed -E 's/.*src="([^"]*)".*/\1/'); do
138138 # Skip URLs
139139 if [[ $img_src == http* ]]; then
140140 continue
141141 fi
142-
142+
143143 # Determine the absolute path of the image
144144 if [[ $img_src == /* ]]; then
145145 abs_img_path="./$img_src"
146146 else
147147 abs_img_path="$base_dir/$img_src"
148148 fi
149-
149+
150150 # Extract just the filename
151151 img_filename=$(basename "$img_src")
152152 wiki_img_path="images/$img_filename"
153-
153+
154154 # Copy the image to wiki repository if it exists
155155 if [ -f "$abs_img_path" ]; then
156156 echo "Copying image : $abs_img_path -> ./wiki/$wiki_img_path"
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ This benchmark compares the performance of phasicFlow with a well-stablished com
1313 </div>
1414</div >
1515
16-
1716<div align =" center " >
1817 <img src="./images/phasicFlow_snapshot.png" style="width: 400px;" />
1918 <div align="center">
You can’t perform that action at this time.
0 commit comments